do not close resp.Body on error (nil pointer dereference)