protected override void Stop()
 {
     _inputAdapter.Dispose();
     _inputAdapter = null;
     base.Stop();
 }