private void SaveEventState() { try { lock (_sync) EventState.WriteToFile(); } catch (Exception ex) { _logger.ErrorFormat("Event state errored on attempt to save it: {0}", ex); } }