Added optional "onCancel" chain supported since wf@0.9.9