public void Save()
 {
     lock (this)
     {
         _jobHistoryStorage.Save(History);
     }
 }
        /// <param name="force">Set true to save history even is history is disabled (e.g. for deleting history)</param>
        public void Save(bool force = false)
        {
            if (!force && !HistoryEnabled)
            {
                return;
            }

            lock (this)
            {
                _jobHistoryStorage.Save(History);
            }
        }