Better handle non-normal exits from worker processes.