code: def _start_handler_thread(self):
          
          # Create handler thread
          t = Thread(target=self._start_loop)
          t.daemon = True
  
          # Start handler thread
          t.start()
          self.thread_started = True
docs: Called once to start the event handler thread.