private async Task DoWorkAsync() { var count = Interlocked.Increment(ref executionCount); _logger.LogInformation( $"{ServiceName} is working. Count: {count}", count); var topStories = await _service.GetTopStoriesAsync(); await _consumerService.SetStoriesAsync(topStories); }