Close database before deleting
Example for deleting database
Generated