for oscope, do clean shutdown on ctrl-c