Stepper motor stops every revolution

It really depends on the code. Blocking code would normally do that.