retry on CURL