close db session