public static void informOrCancel(Future<String> versionCheckResult) {
		try {
			if (versionCheckResult != null) {
				if (versionCheckResult.isDone()) {
					inform(versionCheckResult.get(), true);
				} else {
					versionCheckResult.cancel(true);
				}
			}
		} catch (ExecutionException e) {
			Util.verboseMsg("Couldn't retrieve latest jbang version", e);
		} catch (InterruptedException e) {
			// Ignore
		} catch (java.util.concurrent.CancellationException e) {
			// Ignore
		}
	}
Inform the user if the future returned a newer JBang version number, or
cancel the Future if it isn't done yet.
src/main/java/dev/jbang/util/VersionChecker.java