async def close(self) -> None:
        """
        Close the response and release the connection.

        Automatically called when the context manager exits.
        """
        if self.__stream:
            await self.__stream.close()

        Close the response and release the connection.

        Automatically called when the context manager exits.
        
src/openai/lib/streaming/_assistants.py