'@inherits: :class:`Connection.request`'

def request(self, *args, **kwargs):

    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
    return super(GoogleBaseConnection, self).request(*args, **kwargs)
