def _run(self):
        self._client.get_events()
        while True:
            events = self._client.get_events()
            if events:
                self._process_events(events)
Ensure objects handled by a custom handler are properly dereferenced.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/binary_sensor/nx584.py/NX584Watcher._run--crossover with--dataset/ETHPy150Open jsonpickle/jsonpickle/tests/handler_test.py/HandlerTestCase.test_references