Polling until download is ready