def on_consumer_cancelled(self, method_frame):
_logger.info('<STR_LIT>', method_frame)<EOL>if self._channel:<EOL><INDENT>self._channel.close()<EOL><DEDENT>
Invoked by pika when RabbitMQ sends a Basic.Cancel for a consumer
        receiving messages.

        :param pika.frame.Method method_frame: The Basic.Cancel frame