def next(self, timeout=None):
        try:
            apply_result = self._collector._get_result(self._idx, timeout)
        except IndexError:
            # Reset for next time
            self._idx = 0
            raise StopIteration
        except:
            self._idx = 0
            raise
        self._idx += 1
        assert apply_result.ready()
        return apply_result.get(0)
Clears the cache (if primed) each time a ``UserSettings`` is saved or deleted
dataset/ETHPy150Open serverdensity/sd-agent/checks/libs/thread_pool.py/CollectorIterator.next--crossover with--dataset/ETHPy150Open mishbahr/django-usersettings2/usersettings/models.py/clear_usersettings_cache