code: public static void closeChainedTasks(List<ChainedDriver<?, ?>> tasks, AbstractInvokable parent) throws Exception {
  		for (int i = 0; i < tasks.size(); i++) {
  			final ChainedDriver<?, ?> task = tasks.get(i);
  			task.closeTask();
  			
  			if (LOG.isDebugEnabled()) {
  				LOG.debug(constructLogString("Finished task code", task.getTaskName(), parent));
  			}
  		}
  	}
docs: Closes all chained tasks, in the order as they are stored in the array. The closing process
  creates a standardized log info message.
  
  @param tasks The tasks to be closed.
  @param parent The parent task, used to obtain parameters to include in the log message.
  @throws Exception Thrown, if the closing encounters an exception.