closes database connection