/// <summary>
 /// Stop the RepeatingWorkerFunction
 /// </summary>
 /// <returns>The RunningState of the RepeatinWorker Function</returns>
 internal Boolean StopRepeatingWorker()
 {
     try
     {
         Log.dbg("Cancelling the repeating function");
         this.CancelInvoke("RepeatingWorkerWrapper");
         _RepeatRunning = false;
     }
     catch (Exception)
     {
         Log.err("Unable to cancel the repeating function");
         //throw;
     }
     return(_RepeatRunning);
 }
 /// <summary>
 /// Starts the Repeating worker
 /// </summary>
 /// <returns>The RunningState of the RepeatinWorker Function</returns>
 internal Boolean StartRepeatingWorker()
 {
     try
     {
         Log.dbg("Invoking the repeating function");
         this.InvokeRepeating("RepeatingWorkerWrapper", _RepeatInitialWait, RepeatingWorkerRate);
         _RepeatRunning = true;
     }
     catch (Exception)
     {
         Log.err("Unable to invoke the repeating function");
         //throw;
     }
     return(_RepeatRunning);
 }