code: def join(self, timeout=None):
          
          self._server.join(timeout)
          if self._handler_thread:
              self._handler_thread.join(timeout)
docs: Rejoin the server thread.
  
          Parameters
          ----------
          timeout : float or None, optional
              Time in seconds to wait for the thread to finish.