xterm-class programs should exit when their primary child process