Fix: HttpIOException: The response ended prematurely from HttpClient in .NET
HttpClient reuses a keep-alive connection the server just closed, or the server drops the connection mid-response. Lower PooledConnectionIdleTimeout below the server's idle timeout and retry only idempotent requests.