Allowed async to foreach not to need to specify a onCompleted function