In threaded mode, we need to add thread id to cgroup.threads. Currently, the manager of cgroupv2 does not support AddThread().