private void RunIfPaused()
 {
     if (running)
     {
         return;
     }
     running = true;
     bridge.Resume();
 }