How to prevent stall on servo when returning to position 0

Most servos cannot do anything like 180 degrees, typically 120--150 degrees of movement only.
If you command them out of the mechanical range they hit the endstop and stall, which will
overheat them if left for any length of time. Overheated servo will cook and become useless.
A smart servo will detect continuous stall and/or over temperature and protect itself.