Protection from stalling motor