Async While Loop Javascript Break Statement