Start newpid with bash and a SIGCHLD trap so zombie processes get reaped.