fixed SIGINT issue. Ctrl+c actually kills the script rather than just restarting netcat