public async Task ConnectAsync(CancellationToken token) { _socket.Open(); await WaitForConnectAsync(token).ConfigureAwait(false); }