Restart process on end task undo