Fix bug where nflog fd could be closed by GC.