[PATCH 4/6] Re-order the refreshd loop.