Fix race-induced NPE bug in EInternalPID.is_alive()