db is not closed