fix: closing DB connection