call interruptAllProcesses before every step