added some logs, added try catch in echoClient, Fixed a bug in case that connection failed