docs: @Override
     public void closeStdin(boolean force)
     {
        if (force) {
           try {
              int fd = stdin.acquire();
              if (fd != -1) {
                 if (myProcessor != null) {
                    myProcessor.closeStdin(this);
                 }
                 stdin.close();
              }
           } finally {
              stdin.release();
           }
        } else {
           if (stdinClosing.compareAndSet(false, true)) {
              pendingWrites.add(STDIN_CLOSED_PENDING_WRITE_TOMBSTONE);
              myProcessor.queueWrite(this);
           } else {
              throw new IllegalStateException("closeStdin() method has already been called.");
           }
        }
     }