title: WebRequest.GetResponse() Times Out After A Couple of Requests
body: <p>I'm calling a third party web API to update some of our data on their side. I've been submitting about five jobs in quick succession and, without fail, the first two requests are working properly. The last three however never update. The application seems to be indicating that the request is timing out, but I want to make sure that I'm not messing anything up on my side.</p>
  
  <p>I'm calling the function below with an <code>Action&lt;string, Dictionary&lt;string,object&gt;&gt; Delegate</code> and I'm using <code>BeginInvoke</code> to call the API asynchronously. I don't really care about the response. Am I misunderstanding something about <code>WebRequest.GetResponse()</code> or is this a problem with the endpoint?</p>
  
  <pre><code>    private void UpdateJobInfo(string jobId, Dictionary&lt;string, object&gt; updates)
      {
          var postData = GetJsonEncodedValues(updates);
          var request = WebRequest.Create(string.Format(JobResultEndpoint, _username, jobId));
  
          request.ContentType = "application/json; charset=utf-8";
          request.Method = WebRequestMethods.Http.Put;
          request.Headers[HttpRequestHeader.Authorization] = GetAuthenticationCredentials();
          request.GetRequestStream().Write(Encoding.ASCII.GetBytes(postData), 0, Encoding.ASCII.GetBytes(postData).Length);
  
          request.GetResponse();
      }
  </code></pre>