docs: public void registerListener(RetryListener listener) {
  		List<RetryListener> list = new ArrayList<RetryListener>(
  				Arrays.asList(this.listeners));
  		list.add(listener);
  		this.listeners = list.toArray(new RetryListener[list.size()]);
  	}