title: Google Translate throws 'System.Net.Http.WinHttpException' Asp.Net Core
body: <p>Using Asp.Net Core 1.1.0-preview1-001153-00 and Google C# sdk of 1.20.0.543 when I send 400 requests using the code below I run into an error ("System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.Http.WinHttpException: A connection with the server could not be established) with the HttpClient when requesting more than 400 at at time. It doesn't appear to be a quota issue as I'm seeing the backoff warning in the output. </p>
  
  <pre><code>List&lt;Task&lt;TranslationsListResponse&gt;&gt; requestToGoogle = model.SourceItems
      .Select(async request =&gt; await TranslateAsync(new string[] { request.SourceText }, model.TargetLanguage, model.SourceLanguage)).ToList();
  
  TranslationsListResponse[] result = await Task.WhenAll(requestToGoogle);
  </code></pre>
  
  <p>Part of the stack trace:</p>
  
  <pre><code>System.Net.Http.HttpRequestException: An error occurred while sending the request. ---&gt; System.Net.Http.WinHttpException: A connection with the server could not be established
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
     at System.Net.Http.WinHttpHandler.&lt;StartRequest&gt;d__105.MoveNext()
     --- End of inner exception stack trace ---
     at Google.Apis.Http.ConfigurableMessageHandler.&lt;SendAsync&gt;d__43.MoveNext()
  --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
     at System.Net.Http.HttpClient.&lt;FinishSendAsync&gt;d__58.MoveNext()
  --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Google.Apis.Requests.ClientServiceRequest`1.&lt;ExecuteUnparsedAsync&gt;d__26.MoveNext()
  --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Google.Apis.Requests.ClientServiceRequest`1.&lt;ExecuteAsync&gt;d__23.MoveNext()
  --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Google.Apis.Requests.ClientServiceRequest`1.&lt;ExecuteAsync&gt;d__22.MoveNext()
  --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at GoogleTranslate.Client.GoogleTranslateClient.&lt;GoogleTranslateAsync&gt;d__3.MoveNext() in C:\myProject\src\GoogleTranslate.Client\GoogleTranslateClient.cs:line 41
  </code></pre>