Python library issues

Hello everyone. I have an issue with a Python library. I'm using an async driver/session. Initially, I created the driver and closed it during app shutdown, creating a session per request and closing the session at the end. I encountered this error: Failed to read from defunct connection IPv4Address(('XXX.neo4j.io', 7687)) (ResolvedIPv4Address(('XXX', 7687))). After that, I started creating the driver and session per request, closing the session first and then the driver, but the error persists. Could you help me resolve this issue? Thank you.