@Override public void stop() throws Exception { if (serverHandle != null) { serverHandle.close(); serverHandle = null; } }
@Override public void join() throws Exception { if (serverHandle != null) { serverHandle.join(); } }