accept curl error 18 as 'download complete'