ProgressBar gets threadsafe