Fixing download concurrency bug