title: JSON parser disconnects debugger
body: <p>I got the following code:</p>
  
  <pre><code>using (var client = new HttpClient(new NativeMessageHandler()))
  {
      client.Timeout = TimeSpan.FromSeconds(30.0);
      var response = await client.PostAsync(requestString, content);
      json = await response.Content.ReadAsStringAsync();
      var tk = JObject.Parse(json);
      if ((string)tk.GetValue("Ident") == "Message" &amp;&amp; (int)tk.GetValue("Status") == 401)
          throw new AuthenticationException();
      return tk;
  }
  </code></pre>
  
  <p>This is the base for calling a webservice for the app I'm working on. The thing is: Every time I step over this one line:</p>
  
  <pre><code>var response = await client.PostAsync(requestString, content);
  </code></pre>
  
  <p>I get an error message from Visual Studio saying "The network connection to {IP:PORT} has been lost. Debugging will be aborted."</p>
  
  <p>And so I get disconnected (happens with Emulator and WP device). This is really annoying since I would like to debug the result, but no chance. As I just have noticed the connection breaks even if you continue. Once it hit's it, the connection get lost.</p>
  
  <p>This is a very weird behavior. Any clues why this happens or what could trigger connection loss?</p>
  
  <p>FYI I'm using Newtonsoft.Json for that.</p>