A magnetically-activated thermal switch without moving parts