code: def refresh_waiting_tasks(self):
          
          assert not self.read_only
          for my_task in self.get_tasks(Task.WAITING):
              my_task.task_spec._update(my_task)
docs: Refresh the state of all WAITING tasks. This will, for example, update
          Catching Timer Events whose waiting time has passed.