Attempt at tcpConnection bugfix