joyent/node — comment on commit dd9593ccc4dd1de21faa1996c2577c7a6ac3d8ae
File:  line 0
By bnoordhuis:

Do you have a test case I can try? The logic seems okay to me and I see a removal for every added 'close' listener.