When the connection timesout when using curl or get_file_contents because of a network error or remote server doesn't respond for some reason it kills my script.
I am making these remote calls in a loop and if one fails it kills my script.
What is the best way to handle if a specific post fails, that it goes on to the next in the loop instead of the script dying?