title: Can't handle exceptions in async method in Debug on Windows 7
body: <p>I'm struggling weird problem that occurred only in debug mode on Windows 7.
  I'm try to catch exception that I'm throwing in method delcared <code>async</code>. Yes, I'm awaiting it, but exception still stands uncaught in inner function. See code below.</p>
  
  <ul>
  <li>Required version of Framework (4.6.1) set in app config.</li>
  <li>Tried to set strict version of C# language.</li>
  <li>In Release or Windows 10 works fine.</li>
  <li>Tested only in VS 2017.</li>
  </ul>
  
  <pre><code>private void Connect(int port)
  {
      lock (apiLocker)
      {
          if (port &lt;= 0)
          {
              throw new ArgumentException("Invalid port number");
          }
          //etc.
      }
  }
  
  internal async Task ConnectAsync(int port)
  {
      await Task.Run(() =&gt;
      {
          Connect(port);
      });
  }
  </code></pre>
  
  <p>And invoke looks like this:</p>
  
  <pre><code>private async Task&lt;bool&gt; ConnectAsync()
  {
      try
      {
          await RadioDispatcher.Instance.ConnectAsync(connectionSettings.Port);
          return true;
      }
      catch
      {
         //I can't reach that line in Debug on windows 7.
         //In Release on Windows 10 it works fine.
          return false;
      }
  }
  </code></pre>