public static void assertMatches(String expectedPattern, TraceObject object) {
		assertTrue("Expected matches " + expectedPattern + " but was " +
			object.getCanonicalPath().toString(),
			PathFilter.parse(expectedPattern).matches(object.getCanonicalPath()));
	}
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