CI: Fix example test for http_request
CI: Fix example test for http_request

Test is based on a public http server which might not be always
available, so the example test checks if it's available
so the test could be (by)passed if the public server not available.

But we didn't correctly check if a socket/timeout exception occurs
when trying to connect

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