cache the ids of threads we've already labeled.