Synchronize feed and spindle speed during slow down, stopping