Removed a race condition, while accessing common data via download threads'
Merge pull request #992 from gunner272/racedown

Removed a race condition, while accessing common data via download thread
Merge remote-tracking branch 'upstream/master'