protected void doClusterTask(ClusterTask task) {
        ClusterNodeInfo info = CacheFactory.getClusterNodeInfo(nodeID);
        if (info == null && task instanceof RemoteSessionTask) { // clean up invalid session
            Session remoteSession = ((RemoteSessionTask)task).getSession();
            if (remoteSession instanceof ClientSession) {
                SessionManager.getInstance().removeSession(null, remoteSession.getAddress(), false, false);
            }
        } else {
            CacheFactory.doClusterTask(task, nodeID);
        }
    }
Invokes a task on the remote cluster member in an asynchronous fashion.

@param task the task to be invoked on the specified cluster member.
xmppserver/src/main/java/org/jivesoftware/openfire/session/RemoteSession.java