Wait X seconds times out after 4 minutes
I want to make an automation that reminds me to go on a jog 35 minutes after I get home, but only if I am still home after 15 minutes (just in case I don't stay home for long). I wrote an automation that runs when I get home, and will wait, check if I am still home, and then start a timer, however, the automation times out after about four minutes. How can I write an automation that will wait for 15 minutes without timing out?
I have already tried writing repeat 30 times wait 30 seconds and check if I am home every repeat. Waiting for 900 seconds doesn't work either. (I have also attempted a few different variations of these two ideas.)
iPhone SE (3rd generation)