Tag: how to manage tasks in loop