Cancel a connector from completing.

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