Unable to close a socket

The network layer was unable to close a socket. The network session may or may not have terminated prematurely, due to pending
writes that were not flushed. Check the following: 1) The other side of the network connection had any errors. 2) The other
side of the connection is running normally. 3) The machine is still connected to the network, and the network is responsive.