Async While Loop Python Syntax Error