Ensure that the CheckRoot thread finishes last