Optimizing cURL multi transactions