remove the pid from the children and wake up sleepers