code: def cancel(self):
          
          if self.started and not self.connected and not self.timedout:
              self.connect_watcher.stop()
              self.timeout_watcher.stop()
docs: Cancel a connector from completing.