Another attempt at tcpConnection bugfix