tests: avoid test runner hanging on child test process join