capture SIGINT and exit on mocha test