When the child has a clean-up step (closing files, killing sub-processes, deleting operational files, etc.), this currently is not executed by the test, as the `testrunner` just does a hard `SIGKILL` for the child's PPID. This change makes this a `SIGTERM` and only uses `SIGKILL` if there are still processes lingering a second after the `SIGTERM`.