code: def wait_for_completion(self, interval=1):
          
  
          while not self.is_terminated(retry=True):
              try:
                  time.sleep(interval)
              except KeyboardInterrupt:
                  break
docs: Wait for the instance to complete, and neglect the consequence.
  
          :param interval: time interval to check
          :return: None