attempt to close connection to db