Fix up refresh thread handling.

Change-Id: I9c453839dadb5ce31225cac44de4a419a1d8fbac