Reduced cURL timeout to 40 seconds due to ELB limits