/// <summary>
 /// stop the generation process
 /// </summary>
 internal void StopProcessing()
 {
     this._running = false;
     EventRepository.WriteOutMetrics();
 }