add a debug variable to see what happen, because with huge account we cannot see if its a bug or if he does something
Change the order of action, in mine, the download of content does during the scan and not anymore after the all scan (always because with huge account, its too long)
I propose you my PR