public void Stop()
 {
     if (Consumer != null)
     {
         Consumer.Stop();
         Consumer = null;
     }
 }