We found that pac-proxy-agent is indirectly leaking file descriptors via getUri for file based file://path/to/pac.js whenever there is a cache hit (via fs.stat).
The existing code open's the file to check its stat against the cache. When there is a match, it throws an exception and never closes the handle.