Prevents refresh from getting stalled