OC-3097: (fix bug) When the connection is lost during a download, app th...

...inks that the download is finished