Track a child so it is counted as live and can be killed in bulk.
Releases on close/exit, so the set cannot grow across a long-lived process.
close
exit
Track a child so it is counted as live and can be killed in bulk.
Releases on
close/exit, so the set cannot grow across a long-lived process.