[TIMOB-16672] Fixed serious race condition with downloadFile() as well as offline error handling and proper error propagation back to the browser.
Merge pull request #5526 from cb1kenobi/timob-16672_3_2_X_hybrid

[TIMOB-16672] Fixed serious race condition with downloadFile() as well a...