Fix for the TCP transport.