public ProcessMonitor(WindowsEventLogger logger = null)
        {
            _logger = logger ?? new WindowsEventLogger();

            _logger.WriteToLog($"Watching for {ProcessName} Exit");
        }
 protected override void OnStop()
 {
     _logger.WriteToLog("Service closed");
 }