code: def _TransmissionThreadProc(self):
      
      reconnect = True
  
      while not self._shutdown:
        self._new_updates.clear()
  
        if reconnect:
          service = self._BuildService()
          reconnect = False
  
        reconnect, delay = self._TransmitBreakpointUpdates(service)
  
        self._new_updates.wait(delay)
docs: Entry point for the transmission worker thread.