private void _sendComplete(IAsyncResult result) { lock(_lock) { if(_socket != null) { try { _socket.EndSendTo(result); } catch(SocketException) { _disposeAll(); } } } }