private Task OnConnection(SocketConnection connection) { IClient client = AttachClient(connection.GetRemoteIp(), connection); ClientConnected.Set(); return(_tcs.Task); }