text: Title: [Regression] IterableDataset is broken on 2.20.0
  Body: ### Describe the bug
  
  In the latest version of datasets there is a major regression, after creating an `IterableDataset` from a generator and applying a few operations (`map`, `select`), you can no longer iterate through the dataset multiple times.
  
  The issue seems to stem from the recent addition of "resumable IterableDatasets" (#6658) (@lhoestq). It seems like it's keeping state when it shouldn't.
  
  
  
  ### Steps to reproduce the bug
  
  Minimal Reproducible Example (comparing `datasets==2.17.0` and `datasets==2.20.0`)
  
  ```
  #!/bin/bash
  
  # List of dataset versions to test
  versions=("2.17.0" "2.20.0")
  
  # Loop through each version
  for version in "${versions[@]}"; do
      # Install the specific version of the datasets library
      pip3 install -q datasets=="$version" 2>/dev/null
  
      # Run the Python script
      python3 - <<EOF
  from datasets import IterableDataset
  from datasets.features.features import Features, Value
  
  def test_gen():
      yield from [{"foo": i} for i in range(10)]
  
  features = Features([("foo", Value("int64"))])
  d = IterableDataset.from_generator(test_gen, features=features)
  mapped = d.map(lambda row: {"foo": row["foo"] * 2})
  column = mapped.select_columns(["foo"])
  print("Version $version - Iterate Once:", list(column))
  print("Version $version - Iterate Twice:", list(column))
  EOF
  done
  ```
  
  The output looks like this:
  ```
  Version 2.17.0 - Iterate Once: [{'foo': 0}, {'foo': 2}, {'foo': 4}, {'foo': 6}, {'foo': 8}, {'foo': 10}, {'foo': 12}, {'foo': 14}, {'foo': 16}, {'foo': 18}]
  Version 2.17.0 - Iterate Twice: [{'foo': 0}, {'foo': 2}, {'foo': 4}, {'foo': 6}, {'foo': 8}, {'foo': 10}, {'foo': 12}, {'foo': 14}, {'foo': 16}, {'foo': 18}]
  Version 2.20.0 - Iterate Once: [{'foo': 0}, {'foo': 2}, {'foo': 4}, {'foo': 6}, {'foo': 8}, {'foo': 10}, {'foo': 12}, {'foo': 14}, {'foo': 16}, {'foo': 18}]
  Version 2.20.0 - Iterate Twice: []
  ```
  
  ### Expected behavior
  
  The expected behavior is it version 2.20.0 should behave the same as 2.17.0.
  
  ### Environment info
  
  `datasets==2.20.0` on any platform.