code: def _mainthread_accept_clients(self):
          
          try:
              if self._accept_selector.select(timeout=self.block_time):
                  client = self._server_socket.accept()
                  logging.info('Client connected: {}'.format(client[1]))
  
                  self._threads_limiter.start_thread(target=self._subthread_handle_accepted,
                                                     args=(client,))
          except socket.error:
              pass
docs: Accepts new clients and sends them to the to _handle_accepted within a subthread