protected MemDump parseHexDump(String dump) throws IOException {
		// First, get the address. Assume contiguous, so only need top line.
		List<String> lines = List.of(dump.split("\n"));
		String bytes = lines.get(0);
		bytes = bytes.substring(bytes.indexOf("{") + 1, bytes.indexOf("}"));
		List<String> toks = List.of(bytes.split(",\\s+"));
		String addrstr = lines.get(1);
		long address = Long.parseLong(addrstr, 16);

		ByteArrayOutputStream buf = new ByteArrayOutputStream();
		byte[] lineData = new byte[toks.size()];
		int i = 0;
		for (String t : toks) {
			lineData[i++] = Byte.parseByte(t.trim());
		}
		buf.write(lineData);
		return new MemDump(address, buf.toByteArray());
	}
We know at this point the process should be terminated. Depending on how cleanly that
happened, the socket may or may not be closed. Do not assert/wait for it to close. Just
clean up by closing our end
Ghidra/Test/DebuggerIntegrationTest/src/test.slow/java/agent/java/rmi/AbstractJavaTraceRmiTest.java