Fixed issue with db locking