fix database deadlock