/// <summary>
 /// Destroys the singleton instance of this class.
 /// </summary>
 internal static void DestroyInstance()
 {
     Instance?.Dispose();
     Instance = null;
 }
 /// <summary>
 /// Creates the singleton instance of this class.
 /// </summary>
 internal static void CreateInstance()
 {
     Instance?.Dispose();
     Instance = new BackgroundInventoryUpdater();
 }