This code works, but when the server doesn't respond, it
takes a while and does a timeout with the error "Object
Instantiation Exception." How can I get "instant" results for
sock.isConnected() in the case that there is no response? If the
connect is "YES" it will be pretty much instant. How can I
instantly get a "NO" ?