Adding curl error code 18 to retry behavior