#247 fix loader->close fd leak when NOFILE limit exceeded