Fix refresh timer not being stopped on refresh