@Override
    public synchronized void stop() {
        closeMainChannel();
        if (!parentGroup.isShuttingDown()) {
            parentGroup.shutdownGracefully(GRACEFUL_SHUTDOWN_QUIET_PERIOD.getValue().toMillis(), GRACEFUL_SHUTDOWN_TIMEOUT.getValue().toMillis(), TimeUnit.MILLISECONDS);
        }
        if (!childGroup.isShuttingDown()) {
            childGroup.shutdownGracefully(GRACEFUL_SHUTDOWN_QUIET_PERIOD.getValue().toMillis(), GRACEFUL_SHUTDOWN_TIMEOUT.getValue().toMillis(), TimeUnit.MILLISECONDS);
        }
    }
Stops this acceptor by unbinding the socket acceptor. Does nothing when the instance is not started.
xmppserver/src/main/java/org/jivesoftware/openfire/spi/NettyConnectionAcceptor.java