Fixes bug with socket.error while PHP XMLRPC server is not accesible