docs: public static void closeUserCode(Function stub) throws Exception {
  		try {
  			FunctionUtils.closeFunction(stub);
  		} catch (Throwable t) {
  			throw new Exception("The user defined 'close()' method caused an exception: " + t.getMessage(), t);
  		}
  	}