code: def sleep(self, seconds):
          
          until = time.time() + seconds
          try:
              while True:
                  self._service_futures([], until)
          except TimeoutError:
              return
docs: Services all futures while waiting
  
          Args:
              seconds (float): Time to wait