prevent UnboundLocalError on SSLError too many open files
prevent UnboundLocalError on SSLError too many open files

Make sure we have created a progress monitor before trying to
revert the progress.

Duke-GCB/DukeDSClient,Duke-GCB/DukeDSClient