Used HasTerminated as bitmap for flags to make difference between calling PsTerminate...