public void validateService() {
        if (getPresenceManager() == null ||
                getXMPPServer() == null) {
            showServerDown();
        }
    }
Stops the server then sleeps for 3 seconds.
xmppserver/src/main/java/org/jivesoftware/util/WebManager.java