[cp0094] Fix crush in ThreadManager