dont do php set_time_limit(0) - it results in an infinite loop if the http request fails