oom: consider multi-threaded tasks in task_will_free_mem