String unstoppable = null;
try {
setPaTypedState(RunningState.TERMINATING);
for (Iterator it = stepsLocal().iterator(); it.hasNext();) {
ActivityLocal act = (ActivityLocal)it.next();
if (act.workflowState() == State.OPEN
&& (!act.typedState().isSameOrSubState
(NotRunningState.NOT_STARTED))) {
try {
act.terminate();
} catch (CannotStopException e) {