Destroy the session UApplicationId instance when finalizing gstamc.