code: public boolean await(long timeout, TimeUnit unit) {
          try {
              return latch.await(timeout, unit);
          } catch (InterruptedException e) {
              throw new RedisCommandInterruptedException(e);
          }
      }
docs: Wait up to the specified time for the command output to become
  available.
  
  @param timeout   Maximum time to wait for a result.
  @param unit      Unit of time for the timeout.
  
  @return true if the output became available.