sh.rs: kill the program on exit.