Add retries to DICOM and HTTP export