Improve failure diagnostics in TcpClientTests

If the latch isn't counted down within the time limit, include details
of the messages that have been received thus far in the failure
output.