Fix progress bar not going to 100% when job finished