Add method to destroy current database connection (for testing).