Wait for not pending, not for running.
When failures occur, we go to 'Terminated' which can cause
indefinite blocking.
Merge pull request #2979 from brendandburns/e2e

Wait for not pending, not for running.