Avoid re-entry in DICOM SR system