code: def _cleanup_channel(self, channel_id):
          
          with self.lock:
              if channel_id not in self._channels:
                  return
              del self._channels[channel_id]
docs: Remove the the channel from the list of available channels.
  
          :param int channel_id: Channel id
  
          :return: