trying to close connection