code: def responsive_sleep(self, seconds, wait_reason=''):
          
          for x in range(int(seconds)):
              if (self.config.wait_log_interval and
                  not x % self.config.wait_log_interval):
                  print('%s: %dsec of %dsec' % (wait_reason,
                                                x,
                                                seconds))
              time.sleep(1.0)
docs: Sleep for the specified number of seconds, logging every
          'wait_log_interval' seconds with progress info.