def METHOD_NAME(self):
    self.is_running = False
    try:
        self._inner_close()
    except Exception as err:
        # ignore any error on closing
        print("error on closing channel: %s" % err)