Improve logging a bit in the TransportHeartBeat.
Trace calls to close socket.