docs: @Override
    public synchronized void handlePeerChoked(SharingPeer peer) {
      Set<Piece> pieces = peer.getRequestedPieces();
  
      if (pieces.size() > 0) {
        for (Piece piece : pieces) {
          this.requestedPieces.set(piece.getIndex(), false);
        }
      }
  
      logger.trace("Peer {} choked, we now have {} outstanding " +
                      "request(s): {}.",
              new Object[]{
                      peer,
                      this.requestedPieces.cardinality(),
                      this.requestedPieces
              });
    }