def _wake_up_timer(self, kill_event):
<EOL>while True:<EOL><INDENT>prev = self._wake_up_time<EOL>time_to_die = kill_event.wait(float(max(prev - time.time(), <NUM_LIT:0>)))<EOL>if time_to_die:<EOL><INDENT>return<EOL><DEDENT>if prev == self._wake_up_time:<EOL><INDENT>self.make_callback(kind='<STR_LIT>')<EOL><DEDENT>else:<EOL><INDENT>print("<STR_LIT>")<EOL><DEDENT><DEDENT>
Internal. This is the function that the thread will execute.
        waits on an event so that the thread can make a quick exit when close() is called

        Args:
            - kill_event (threading.Event) : Event to wait on