Move `defer resp.Body.Close()`

...to just under the line that defines `resp`, so that it's more
visible.