protected override void OnStop()
 {
     loggingController.LogLostEvents();
     logger.Info("Stoping service");
 }