BTW, I think this line together with that line in ```resolve_task_cgroup_path()``` is too long and will cause some pylint complains.