private static void CheckAccount()
        {
            while (!Queue.IsEmpty)
            {
                if (CancellationTokenSource.IsCancellationRequested)
                {
                    break;
                }

                KeyValuePair<int, Account> item;

                if (Queue.TryDequeue(out item))
                {
                    Account account = item.Value;

                    Client client = new Client(account.Region, account.Username, account.Password, LoLIp, Context);
                    client.IsCompleted.Task.Wait();
                    client.Disconnect();

                    Application.Current.Dispatcher.Invoke(() =>
                    {
                        Accounts[item.Key] = client.Data;
                    });
                }
            }
        }