def close(self):
    '\n        Close the client connection.\n\n        Raises:\n            Exception: if an error occurs while trying to close the connection\n        '
    if (not self._is_open):
        return
    else:
        try:
            self.proxy.close()
            self._is_open = False
        except Exception as e:
            self.logger.exception('could not close client connection', e)
            raise e
Close the client connection.

Raises:
    Exception: if an error occurs while trying to close the connection
def close(self):
    '\n        Close the client connection.\n\n        Raises:\n            Exception: if an error occurs while trying to close the connection\n        '
    if (not self._is_open):
        return
    else:
        try:
            self.proxy.close()
            self._is_open = False
        except Exception as e:
            self.logger.exception('could not close client connection', e)
            raise e