Wild day today. Dealing with ephemeral port exhaustion all linked to a single endpoint. Best guess is that the #dotnet HttpClient is either oversizing the pool or that the rate limit applied by the endpoint is aborting the connections instead of returning a 429 and leaving the ports bound until the system cleans them up.
Unfortunately we have very little visibility on what's actually happening.