I can’t find any way to set the timeout for urequests.get(URL). Using sockets directly there’s an option: settimeout(i) and I find on my busy network that 4 seconds is better than 1 second. It would be helpful if there was a timeout setting for urequests.get() as well.
Thanks exussum, it works nicely. Without the timeout the program hangs, with the timeout the program will try again on the next iteration, 30 minutes later.