@Override
		public void close() throws Exception {
			Msg.info(this, "Cleaning up lldb");
			execute("settings set auto-confirm true");
			exec.pty.getParent().getOutputStream().write("""
					quit
					""".getBytes());
			try {
				LldbResult r = exec.future.get(TIMEOUT_SECONDS, TimeUnit.SECONDS);
				r.handle();
				waitForPass(() -> assertTrue(connection.isClosed()));
			}
			finally {
				exec.pty.close();
				exec.lldb.destroyForcibly();
				exec.pumper.interrupt();
			}
		}
Some snapshot likely to exceed the latest
Ghidra/Test/DebuggerIntegrationTest/src/test.slow/java/agent/lldb/rmi/AbstractLldbTraceRmiTest.java