I have a client that does a simple request to a server. It usually works fine, but if the server is down or it simply doesn\'t exist, the request get stuck and does nothing