cURL error (0): error occured during curl exec