def remove_listener(self, listener):
        """Remove the given listener from the wrapped client.

        :param listener: A listener previously passed to :meth:`add_listener`.
        """
        internal_listener = self._internal_listeners.pop(listener)
        return self._client.remove_listener(internal_listener)