Removed locking for condition checking within download looping.