docs: public void pauseUpload() throws LocalOperationException {
          if (state == State.UPLOADING) {
              setState(State.PAUSED);
              executor.hardStop();
          } else {
              throw new LocalOperationException("Attempt to pause upload while assembly is not uploading");
          }
      }