Fix deadlock when installing HttpClient NuGet package.