Rescue Errno::ETIMEDOUT when connecting to the URL