removed accidental typo

Same PR for TCPClient but removed the typo during copy and paste