private void GetMatches() { foreach (var url in UserGameProfile.MatchUrls) { DispatcherHelper.CheckBeginInvokeOnUI(async() => MatchList.Add(await _scrapper.GetPersonalGameDetails(UserGameProfile.Nickname, url))); if (MatchListHome.Count < 5 && MatchList.Any()) { DispatcherHelper.CheckBeginInvokeOnUI(() => MatchListHome.Add(MatchList.Last())); } Thread.Sleep(TimeSpan.FromSeconds(1)); } }