code: @Override
  	public void close(RetryContext context) {
  		RetryContext[] contexts = ((CompositeRetryContext) context).contexts;
  		RetryPolicy[] policies = ((CompositeRetryContext) context).policies;
  		RuntimeException exception = null;
  		for (int i = 0; i < contexts.length; i++) {
  			try {
  				policies[i].close(contexts[i]);
  			}
  			catch (RuntimeException e) {
  				if (exception == null) {
  					exception = e;
  				}
  			}
  		}
  		if (exception != null) {
  			throw exception;
  		}
  	}
docs: Delegate to the policies that were in operation when the context was created. If
  any of them fails to close the exception is propagated (and those later in the
  chain are closed before re-throwing).
  
  @see org.springframework.retry.RetryPolicy#close(org.springframework.retry.RetryContext)
  @param context the {@link RetryContext}