On Unix the test runner could perhaps start a new process group, and then send a TERM or KILL signal to that group on termination.
On Unix the test runner could perhaps start a new process group, and then send a TERM or KILL signal to that group on termination.