fix a concurrency crash when creating a new fmdb queue