database is not closed