private void StartSend(SocketAsyncEventArgs args) { var willRaiseEvent = false; if (args.Count > 0) { _monitor.StartSend(); willRaiseEvent = args.AcceptSocket.SendAsync(args); } if (!willRaiseEvent) { Task.Run(() => ProcessSend(args)); } }