adding stats to the stats collector
catching a fatal error that might happen if a shortlived process disappears while we're listing it