I would like to be able to cancel debugpy.connect call the same or similar way they have it with wait_for_client (timeout is ok too).
It would be useful when connecting from remote code to a local listener, and there is no control on the remote code execution.