code: @Override
  	public RecoveryStrategy onException(final JobExecutor jobExecutor, final Exception exception,
  	        final String curQueue) {
  		final boolean isLoadingDataset = exception instanceof JedisDataException
  				&& exception.getMessage().equals("LOADING Redis is loading the dataset in memory");
  
  		if (exception instanceof JedisConnectionException
  				|| exception instanceof JedisNoScriptException
  				|| isLoadingDataset) {
  			return RECONNECT;
  		} else if (exception instanceof JsonProcessingException
  				|| (exception instanceof InterruptedException && !jobExecutor.isShutdown())) {
  			return PROCEED;
  		} else {
  			return TERMINATE;
  		}
  	}
docs: {@inheritDoc}