Catch SQLITE_BUSY and try again