Fixing a bug where multiple sockets are opened for IPMI Lan commnication, but closes just the last one opened.