Javascript vs .NET Long Polling reconnect