sliencing curl and adding retry