docs: @Override
      public void reset() {
          // just replace accumulator, gc will do the rest
          accumulator = new ThreadLocal<>();
  
          // resetting this counter too
          workersCounter.set(0);
  
          // reset indexes too
          index = new ThreadLocal<>();
  
          // throw away message queues
          for (int i = 0; i < parties; i++) {
              messages.get(i).clear();
          }
      }