private void BackgroundThread()
 {
     for (;;)
     {
         var client = new WebApiClient(ConfigurationManager.AppSettings["WebApiAddress"]);
         if (_event.WaitOne(TimeSpan.FromSeconds(Interval)))
             return;
         client.NotifyCaseWorkersAboutClosingCases("arb1234567890system");
     }
 }