def METHOD_NAME(self, max_time):
    """ Try pulling the image multiple times """
    @backoff.on_predicate(backoff.expo, lambda x: not x,
                          max_time=max_time, jitter=backoff.full_jitter)
    def _keep_trying():
        return self.pull_image()
    _keep_trying()