private boolean isFolderInUse(RepositoryFolder folder) throws IOException {
		for (RepositoryFolder f : folder.getFolders()) {
			if (isFolderInUse(f)) {
				return true;
			}
		}
		for (RepositoryFile rf : folder.getFiles()) {
			if (rf.hasCheckouts()) {
				return true;
			}
			String[] openFileUsers = RemoteBufferFileImpl.getOpenFileUsers(repository.getName(),
				getPathname(folder.getPathname(), rf.getName()));
			if (openFileUsers != null) {
				return true;
			}
		}
		return false;
	}
Verify that the client is active and continuing to read events
Ghidra/Features/GhidraServer/src/main/java/ghidra/server/remote/RepositoryHandleImpl.java