At startup time, install a SIGINT termination handler which calls shutdownHaskellAndExit(), if invoked.