Added synchronization for parallel downloads