esp_http_client: Fix HEAD request will affect the all next HTTP requests unless we close the HTTP request
esp_http_client: Fix HEAD request will affect the all next HTTP requests unless we close the HTTP request

Closes https://github.com/espressif/esp-idf/issues/7777

espressif/esp-idf,espressif/esp-idf,espressif/esp-idf,espressif/esp-idf