Magic angle in thermal conductivity of twisted bilayer graphene