public static int getSocketTimeout() {
        return JiveGlobals.getIntProperty(ConnectionSettings.Server.SOCKET_READ_TIMEOUT, 120000);
    }
Returns the number of milliseconds to wait to connect to a remote server or read
data from a remote server. Default timeout value is 120 seconds. Configure the
{@code xmpp.server.read.timeout} global property to override the default value.

@return the number of milliseconds to wait to connect to a remote server or read
        data from a remote server.
xmppserver/src/main/java/org/jivesoftware/openfire/server/RemoteServerManager.java