Prevent ExitProcess execution in some more cases