prove await works in a loop