Fix refresh not working after a cancellation