fixed a race condition that led to incorrect upload progress feedback