[BUG] race condition in db remove/install on iphone
If I .remove() a database and then attempt to install it again immediately, I sometimes end up with an empty database instead, and my code fails because it is trying to access databases which don't exist. Reproduced on the iPhone simulator and on an actual device.