Add a deadlock check to -[FMDatabaseQueue inDatabase:]