title: edge.js no response under windows form
body: <p>The following gives result after 1-2 seconds:</p>
  
  <pre><code>[STAThread]
          static  void Main()
          {
              //                        Application.EnableVisualStyles();
              //                        Application.SetCompatibleTextRenderingDefault(false);
              //                        Application.Run(new Form1());
              Task mainTask = MainAsync();
              mainTask.Wait();
  
          }
          static async Task MainAsync()
          {
              var func = Edge.Func(@"
              var esprima = require('esprima');
              var stringify = require('json-stable-stringify');
  
              var esprimaast = esprima.parse('var a=1;', { loc: true });
              var esprimaStr = stringify(esprimaast, { space: 3 });
              return function (data, callback) {
                  callback(null, esprimaStr);
              }
             ");//end Edge.Func
  
              var result = await func(null);
  
              Console.WriteLine(result.ToString());
              JavaScriptSerializer serializer = new JavaScriptSerializer();
              Object myresult = serializer.Deserialize&lt;JSProgram&gt;(result.ToString());
  
              Console.WriteLine(serializer.Serialize(myresult));
  
  
  
          }
  </code></pre>
  
  <p>But when I use an windows form</p>
  
  <pre><code>    [STAThread]
      static  void Main()
      {
                                 Application.EnableVisualStyles();
                                  Application.SetCompatibleTextRenderingDefault(false);
                                 Application.Run(new Form1());
  
      }
  </code></pre>
  
  <p>and trigger it under button click</p>
  
  <pre><code> private void button1_Click(object sender, EventArgs e)
          {
              Task mainTask = MainAsync();
              mainTask.Wait();
          }
  
          async Task MainAsync()
          {
              var func = Edge.Func(@"
              var esprima = require('esprima');
              var stringify = require('json-stable-stringify');
  
              var esprimaast = esprima.parse('var a=1;', { loc: true });
              var esprimaStr = stringify(esprimaast, { space: 3 });
              return function (data, callback) {
                  callback(null, esprimaStr);
              }
          ");//end of Edge.Func
  
              var result = await func(null);
  
              txtEsprima.Text = result.ToString();
              JavaScriptSerializer serializer = new JavaScriptSerializer();
              Object myresult = serializer.Deserialize&lt;JSProgram&gt;(result.ToString());
  
             txtMe.Text=serializer.Serialize(myresult);
  
  
  
          }
  </code></pre>
  
  <p>There is no reply at all, what is the problem?</p>