Set_time_limit()

Your situation is not exactly the same, since this poster uses a different software, but it is similar.

Thankfully, for your case someone has found a solution:

4 Likes