564c963af1
- Properly awaited the `on_connect` method to resolve RuntimeWarning. - Replaced `loop_forever()` with an async event loop using `asyncio.get_event_loop().create_future()`.