curl: always retry a few times to be more resilent against network blip