added terminate() to Process, replaces setNextStep(null)