add no process id exception when terminated