Cleanup after move of db connect