How does thermal equilibrium affect heat transfer?