safer handling of child process in integration helper