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