The database is locked bug fixed