[Bug 48651] Fix handling of child test processes