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