be nice and close database after use