void disconnect(boolean unexpected, boolean notify) {
		synchronized (serverAdapter) {
			if (repository != null) {
				unexpectedDisconnect = unexpected;
				Msg.info(this, "Disconnected from repository '" + name + "'");
				changeDispatcher.stop();
				try {
					repository.close();
				}
				catch (Throwable t) {
					// Failed to close...oh well.
				}
				repository = null;
				user = null;
				if (notify) {
					fireStateChanged();
				}
			}
		}
	}
Verify that the connection is still valid.
@return true if the connection is valid; false if the connection needs to be reestablished
Ghidra/Framework/FileSystem/src/main/java/ghidra/framework/client/RepositoryAdapter.java