public void Close() { Send(Properties.CloseStream()); StopStreamProcessing(); _socket.Disconnect(); }