corrected refresh logic upon unexpected request failure
IMGsession corrections
error correction for refresh workflow