N2RNG_FLAG_SHUTDOWN
if (!(np->flags & N2RNG_FLAG_SHUTDOWN))
else if (err && !(np->flags & N2RNG_FLAG_SHUTDOWN))
np->flags |= N2RNG_FLAG_SHUTDOWN;