Added Error for failed TCP connection