Better syntax for asyncWhile Loop