Fix more bugs around stopping refresh bar.