DebugLog.log("SOCKET: attempting to reconnect... (" + attempts + ")");
    public static Socket createPlainSocket(String host, int port) throws SVNException {        int attempts = 3;        while (true) {            try {                return new Socket(createAddres(host), port);            } catch (ConnectException timeOut) {                if (timeOut.getMessage().indexOf("time") >= 0) {                    attempts--;                    DebugLog.log("SOCKET: attempting to reconnect... (" + attempts + ")");                    if (attempts <= 0) {                        SVNErrorManager.error("svn: Connection timeout");                    }                    continue;                }                SVNErrorManager.error("svn: Connection failed: '" + timeOut.getMessage() + "'");            } catch (IOException e) {                SVNErrorManager.error("svn: " + e.getMessage());            }        }    }