* Wait for db.lck to become available before starting a db operation * Fix err!=nil issues and avoid spamming users * Remove redundant cases * Remove return