SIGHUP fix for Windows