Подводные камни HttpClient в .NET
https://habr.com/ru/post/424873/

Использование IHttpClientFactory для реализации устойчивых HTTP-запросов
https://docs.microsoft.com/ru-ru/dotnet/architecture/microservices/implement-resilient-applications/use-httpclientfactory-to-implement-resilient-http-requests

services
  .AddHttpClient(
   string name,
    Action<HttpClient> configureClient
  )
  .ConfigurePrimaryHttpMessageHandler(
    Func<HttpMessageHandler> configureHandler
  )
  .SetHandlerLifetime(TimeSpan handlerLifetime)

Подводные камни HttpClient в .NET
https://habr.com/ru/post/424873/