terminate on `kill`