docs: def cancel(self):
          """Detach strategy from its sensor and cancel ioloop callbacks."""
          if self.OBSERVE_UPDATES:
              self.detach()
          self.ioloop.add_callback(self.cancel_timeouts)