private void doActionCloseAllActivated(ActionContext __) {
		try {
			doActionStopServerActivated(__);
		}
		catch (Throwable e) {
			Msg.error(this, "Could not close server: " + e);
		}
		for (TraceRmiConnection connection : traceRmiService.getAllConnections()) {
			try {
				connection.close();
			}
			catch (Throwable e) {
				Msg.error(this, "Could not close " + connection + ": " + e);
			}
		}
		for (TraceRmiAcceptor acceptor : traceRmiService.getAllAcceptors()) {
			try {
				acceptor.cancel();
			}
			catch (Throwable e) {
				Msg.error(this, "Could not cancel " + acceptor + ": " + e);
			}
		}
	}
This allows the test framework to use reflection to access this method.
Ghidra/Debug/Debugger-rmi-trace/src/main/java/ghidra/app/plugin/core/debug/gui/tracermi/connection/TraceRmiConnectionManagerProvider.java