fix : gracefull stop (wait childs to end their tasks)