Clean up database connection file