protected override async Task ExecuteAsync(CancellationToken ct) { while (!IsStoped) { try { var currencies = await _currencySource.GetAsync(ct).ConfigureAwait(false); _currencyRepository.AddCurrencies(currencies); } catch (Exception ex) { // todo Debug.WriteLine(ex.Message); } }