/// <summary>
    /// Unsubscribes from currently active subscriptions.
    /// </summary>
    void UnsubscribeTopics()
    {
        var tSubs = subscriptions;

        foreach (var sub in tSubs)
        {
            if (sub.SubscriptionId != 0)
            {
                AkWaapiUtilities.Unsubscribe(sub.SubscriptionId);
            }
        }
        subscriptions.Clear();
    }