close the connection.