opdenkamp/xbmc — comment on commit 755903f658fea3a096746c454a3564a1102dca9c
File: xbmc/pvrclients/tvheadend/HTSPConnection.cpp line 138
By FernetMenta:

I think we should delete the socket here as well. Close won't delete it if socket is not open. I just ran into this issue with vnsi.