Added a deferred wait to access the file
Added a deferred wait to access the file

To address the issue of the output file being locked by another process,
added a loop to defer the display of the link until access is obtained.

WSDOT-GIS/arcgis-print-ui,WSDOT-GIS/arcgis-print-ui,WSDOT-GIS/arcgis-print-ui