progress bar stop moving when the process end