Update TcpConnectionFactory.java