How do I handle async errors in Python?