retry upload actions when API errors