public void Stop()
        {
            if (Instrument != null)
            {
                Instrument.InstrumentUpdate -= Instrument_InstrumentUpdate;
            }

            lock (mExpertLocker)
            {
                if (Expert != null)
                {
                    Expert.SetStopped();
                    Expert.Deinit();
                }
            }
        }