Long-period thermal oscillations in superfluid millisecond pulsars