diagnotic added to TCP connect