docs: public synchronized boolean fail(ServiceException ex) {
          if (completed) {
              return false;
          }
          this.completed = true;
          this.ex = ex;
          notifyAll();
          return true;
      }