Remove os.h in ThreadManager