wait: completely ignore the EXIT_DEAD tasks