closeInstance

Close and clear the database instance. Used primarily for testing.