code: def process_task(self):
          
          if _debug: ClientSSM._debug("process_task")
  
          if self.state == SEGMENTED_REQUEST:
              self.segmented_request_timeout()
          elif self.state == AWAIT_CONFIRMATION:
              self.await_confirmation_timeout()
          elif self.state == SEGMENTED_CONFIRMATION:
              self.segmented_confirmation_timeout()
          elif self.state == COMPLETED:
              pass
          elif self.state == ABORTED:
              pass
          else:
              e = RuntimeError("invalid state")
              ClientSSM._exception("exception: %r", e)
              raise e
docs: This function is called when something has taken too long.