This doesn't actually return 1 because the proc is stopped when the lathe is deconstructed. This was already the case before my changes, so nothing is broken. Same for other machines.
Reminder for myself if I need to push anything more important, I'll remove these.