Updated DownloadTask to DownloadTaskCompliant in order to avoid thread synchronization issues with EDT