Internal thermal motor protection