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

        Automatically called if the response body is read to completion.
        """
        await self._raw_stream.close()

        Close the response and release the connection.

        Automatically called if the response body is read to completion.
        
src/anthropic/lib/streaming/_beta_messages.py