async def close(self) -> None:
        """Closes the Transport and all internal connections"""
        await self.transport.close()
Closes the Transport and all internal connections
elasticsearch/_async/client/__init__.py