Adds optional parameter to stop effector for stopping underlying machine
This closes #375