Looks like the root failure is a broken pipe, and the code isn't handling that and is trying to get the response body, but there isn't one because it failed.
Looks like the root failure is a broken pipe, and the code isn't handling that and is trying to get the response body, but there isn't one because it failed.