'Remove all consumers and any callbacks for the channel.'

def _cleanup(self):

    self.callbacks.process(self.channel_number, self._ON_CHANNEL_CLEANUP_CB_KEY, self, self)
    self._consumers = dict()
    self.callbacks.cleanup(str(self.channel_number))
    self._cookie = None
