in reply to forcibly closing sockets/unbinding ports - win32
Well to tell if it really that proccess that is binding, checkout http://www.foundstone.com/ they have a util called fport which is like a lsof for windows -- will tell you what proccess is bound to what port.
-Waswas