Use a SIGINT handler to stop in --continuous mode.