title: How to turn off persistent connections for web service calls
body: <p>From my WinForms application I have to call a webservice and I am using a web reference for that. No problems so far, but now I have a client that uses the software behind a proxy that is behind a load balancer.</p>
  
  <p>Webservice calls are going fine, but after two minutes they fail. We can work around this by repeatedly calling a webservice with an interval less than two minutes.</p>
  
  <p>I turns out that the load balancer disconnects tcp sessions when they are not used for two minutes, appearantly this is what happens in our case and the sofware is unable to recover.</p>
  
  <p>How do I tell the gerenated web reference to use a new tcp connection for every web service call?</p>