cleanup, allocate rpc ok, non-rpc can not get tasks_per_node