Prep queue thread