Keep running this thread until it's stopped

def run(self):
        """Keep running this thread until it's stopped"""
        while not self._finished.isSet():
            self._func(self._reference)
            self._finished.wait(self._func._interval / 1000.0)