Move non-restartable processes to TERMINATED

under system restart