Probably, it would be better to use existing projects like [aioserial](https://github.com/johannchangtw/aioserial.py) to handle `asyncio` operations with serial ports...