cUrl PHP

My first guess would be that the external page you’re connecting to is timing out. Do you have the cURL timeout set? If so, you may want to set that to a few seconds.

What kind of website are you connecting to anyways?