public void Stop()
 {
     ServiceSupportTest.Log("stopping ...");
     stopping.Release();
     ServiceSupportTest.Log("stopping sync released ...");
     serviceSupport.Stop(true);
     wasStopped = true;
     ServiceSupportTest.Log("releasing stopped sync ...");
     stopped.Release();
     ServiceSupportTest.Log("stopped ...");
 }