build: update _exec to handle timeouts gracefully when waitForMatch does not match within 60 seconds.
#24517
| Job | Run time |
|---|---|
| 4s | |
| 4s |