code: public UnitResponse get() {
          synchronized (responseLock) {
              while (!isDone())
                  try {
                      responseLock.wait();
                  } catch (InterruptedException e) {
                      throw new RuntimeException(e);
                  }
              return unitResponse;
          }
      }
docs: Note, this method will return right after finishing execution of the unit and before the remote handler is called.
  This method waits and never times out.
  
  @return the unit response