def METHOD_NAME(name, retry_count=2):
    tries = 1
    while tries <= retry_count:
        log_warning("Retrieval of automation connection failed for " + str(name) +". Retrying ..")
        connection = jrds_client.get_connection_asset(name)
        if connection is not None:
            return connection[KEY_CONNECTION_FIELDS]
        time_to_wait = 3 * (2 ** tries)
        if time_to_wait > 60:
            time_to_wait = 60
        time.sleep(time_to_wait)
        tries = tries + 1
    # log not able to retrieve data
    log_error("Retrieval of automation connection failed for " + str(name) +".")