Close database connections immediately after use.