def request(self, *args, **kwargs):
        # Adds some retry logic for the occasional
        # "Connection Reset by peer" error.
        retries = 4
        tries = 0
        while tries < (retries - 1):
            try:
                return super(GoogleBaseConnection, self).request(
                    *args, **kwargs)
            except socket.error:
                e = sys.exc_info()[1]
                if e.errno == errno.ECONNRESET:
                    tries = tries + 1
                else:
                    raise e
        # One more time, then give up.
        return super(GoogleBaseConnection, self).request(*args, **kwargs)
When get_payload raises IgnoreDocument, fire should call update_success
dataset/ETHPy150Open apache/libcloud/libcloud/common/google.py/GoogleBaseConnection.request--crossover with--dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/repeaters/tests/test_repeater.py/IgnoreDocumentTest.test_ignore_document