Fix kill_bad_children() killing its own |while pipe subshell causing a 'Terminated' message