I've tried setting the max_time parameter to "5 mins" or to an interval of 5 and both function calls ran for well over 20 minutes.