code: public static <T> T callUninterruptibly(Try.Callable<T, InterruptedException> cmd) {
          N.checkArgNotNull(cmd);
  
          boolean interrupted = false;
          try {
              while (true) {
                  try {
                      return cmd.call();
                  } catch (InterruptedException e) {
                      interrupted = true;
                  }
              }
          } finally {
              if (interrupted) {
                  Thread.currentThread().interrupt();
              }
          }
      }
docs: Note: Copied from Google Guava under Apache License v2.0
  <br />
  <br />
  
  If a thread is interrupted during such a call, the call continues to block until the result is available or the
  timeout elapses, and only then re-interrupts the thread.
  
  @param cmd
  @return