add a method for closing the db connection