public void Stop()
 {
     if (!Timer.IsRunning)
     {
         return;
     }
     Timer.Stop();
     FrameQueue.CompleteAdding();
 }