added a SIGINT handler so huge stack traces are not dumped to the terminal