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