/// <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()
 {
     DestroyInstance();
     Instance = new AsyncAmountsUpdater();
 }