try:
            ssl_sock.do_handshake()
            if not done.cancelled():
                done.set_result(None)
        except SSLWantReadError: