Just a FYI, 3 pin regulator thermal shutdown isn't a constant shutdown. Actually they oscillate since once it enters shutdown the load is gone, it cools, starts up again, gets hot, then starts the cycle all over again.