reparent_thread: fix a zombie leak if /sbin/init ignores SIGCHLD