def get_wait_time(retry_num):
    """
    Compute time for exponential backoff.

    Args:
        retry_num (int): Retry attempt number to determine wait time.

    Returns:
        (int): Amount of time to wait.
    """
    return 2 ** (retry_num+3)