'Handle meta-close request from Connection\'s cleanup logic after
sudden connection loss. We use this opportunity to transition to
CLOSED state, clean up the channel, and dispatch the on-channel-closed
callbacks.
:param int reply_code: The reply code to pass to on-close callback
:param str reply_text: The reply text to pass to on-close callback'

def _on_close_meta(self, reply_code, reply_text):

    LOGGER.debug('Handling    meta-close    on    %s', self)
    if (not self.is_closed):
        self._closing_code_and_text = (reply_code, reply_text)
        self._set_state(self.CLOSED)
        try:
            self.callbacks.process(self.channel_number, '_on_channel_close', self, self, reply_code, reply_text)
        finally:
            self._cleanup()
