archiver now checks for valid thread