no-sync db and db open locking working.