def METHOD_NAME(self):
    self.__stopped = False
    while not self.__stopped:
        if time() >= self.__previous_check + self.__check_period:
            self.check_for_new_version()
            self.__previous_check = time()
        else:
            sleep(1)