title: Node.js mocha process (_mocha) doesn't exit upon CTRL-C
body: <p>When a <code>mocha</code> test takes a while to complete, hitting CTRL-C exits the <code>mocha</code> command but doesn't exit the test runner, "_mocha", and the test continues. Anybody know if this by design?</p>
  
  <pre><code>/* 
   * test/mocha-kill-test.js
   */
  describe("Mocha Timeout Test", function() {
  
    this.timeout(10e3);
  
    it("should exit when hitting CTRL-C", function(done) {
      var count = 0;
      var timer = setInterval(function() {
        if (count++ &lt; 10) {
          console.log("  WAIT " + count);
        } else {
          console.log("  DONE");
          clearInterval(timer);
          done();
        }
      }, 1e3);
    });
  
  });
  </code></pre>
  
  <p>This test will run for 10 seconds and then exit. If you try to interrupt it from the terminal with a CTRL-C (or otherwise send it a SIGINT), the test runner will continue to run and you'll see something like this in your shell.</p>
  
  <pre><code>shell&gt; mocha test/mocha-kill-test.js 
  
      WAIT 1
    WAIT 2
  ^Cshell&gt;   WAIT 3
    WAIT 4
    WAIT 5
    WAIT 6
    WAIT 7
    WAIT 8
    WAIT 9
    WAIT 10
    DONE
  ․
  
    1 passing (11s)
  </code></pre>
  
  <p>I see that <code>mocha</code> is supposed to catch SIGINT and do a <code>runner.abort()</code> but this can't be the intended behavior, right?</p>
  
  <blockquote>
    <p><strong>node</strong> v0.10.26<br>
    <strong>mocha</strong> 1.18.2</p>
  </blockquote>