Closing socket on lack of PING response.

This should hopefully get us around the issue of open sockets with a lack of data flow.