Catch curl spawn errors