test_flow: wait until to be completed all child processes