Change SIGHUP to SIGINT to support Windows