avoid referencing dead pids on allegro