Overheat Protection SparkFlex/Vortex

We have a mechanism using a Vortex with Flex and our design calls for stalling the motor at 20% for a short period of time. I know…I know, stalling the motor over time is not good practice but we are doing it. We have monitored the temperature and it seems ok for the time we are doing this. Some times this works fine and we can stall for 30 seconds (testing not expected operation). Other times we are seeing a case where we stall the motor and 10ish seconds later the motor appears to shut off on its own but is good to go moments later. I think it is the code doing this but we have not been able to prove it…so…is there an overheat protection in the Flex or Vortex that would explain this?