title: SignalR .Net Client: how to re-establish a connection
body: <p>I have read <a href="http://www.asp.net/signalr/overview/hubs-api/handling-connection-lifetime-events#continuousreconnect">this post</a></p>
  
  <blockquote>
    <p>In some applications you might want to automatically re-establish a connection after it has been lost and the attempt to reconnect has timed out. To do that, you can call the Start method from your Closed event handler (disconnected event handler on JavaScript clients). You might want to wait a period of time before calling Start in order to avoid doing this too frequently when the server or the physical connection are unavailable. The following code sample is for a JavaScript client using the generated proxy.</p>
  </blockquote>
  
  <p>When I call the Start method from the Closed event </p>
  
  <pre><code>connection.Closed += connection_Closed;
  static void connection_Closed()
      {
          Console.WriteLine("connection closed");
          ServerConnection.Start().Wait();
      }
  </code></pre>
  
  <p>Exception happened:
      the connection has not been established. </p>
  
  <p>I want it continues until it success when the server is ok. Don't throw exception.  How do I reach this. </p>
  
  <p>any ideas? </p>
  
  <p>thanks</p>