actually close connection.