The issue was related to the stepper motor driver chip overheating.
See Soak test code for X-Axis - #8 by mvillion