Audio core : automatic stream closing