'Close given channel, but ignore connection and channel errors.'

def maybe_close_channel(self, channel):

    try:
        channel.close()
    except (self.connection_errors + self.channel_errors):
        pass
