private void OnClose(object sender, EventArgs args) { _isStreamOpen = false; DataStopCommand.Send(this); }