@Override
	public BlockStreamHandle<OutputBlockStream> getOutputBlockStreamHandle(int blockCount)
			throws IOException {
		BlockStreamServer blockStreamServer = BlockStreamServer.getBlockStreamServer();
		OutputBlockStream outputBlockStream = bufferFile.getOutputBlockStream(blockCount);
		RemoteOutputBlockStreamHandle streamHandle = new RemoteOutputBlockStreamHandle(
			blockStreamServer, blockCount, outputBlockStream.getBlockSize());
		if (!blockStreamServer.registerBlockStream(streamHandle, outputBlockStream)) {
			throw new IOException("request failed: block stream server not running");
		}
		return streamHandle;
	}
Dispose associated buffer file and unexport this instance.
Ghidra/Features/GhidraServer/src/main/java/db/buffers/RemoteBufferFileImpl.java