chore: Extend examples timeout (#5504)
### Description
We get a lot of timeout failures on examples tests. Since this almost
always requires re-running the test, which adds another 30 minutes of
compute time, it's probably better to extend the timeout to 40 minutes.
### Testing Instructions
<!--
Give a quick description of steps to test your changes.
-->
Co-authored-by: nicholaslyang <Nicholas Yang>