title: The operation has timed out with WebClient.DownloadFile and correct url's
body: <p>I am batch uploading products to a database.</p>
  
  <p>I am download the image urls to the site to be used for the products.</p>
  
  <p>The code I written works fine for the first 25 iterations (always that number for some reason), but then throws me a System.Net.WebException "The operation has timed out".</p>
  
  <pre><code>if (!File.Exists(localFilename))
  {
      using (WebClient Client = new WebClient())
      {
          Client.DownloadFile(remoteFilename, localFilename);
      }
  }
  </code></pre>
  
  <p>I checked the remote url it was requesting and it is a valid image url that returns an image.</p>
  
  <p>Also, when I step through it with the debugger, I don't get the timeout error.</p>
  
  <p>HELP! ;)</p>