[JQ] Check for connection timeout in uri validator

* Don't rescue all errors when checking HEAD requests
* Rescue from Errno::ECONNREFUSED