I am trying to catch connection failed error if the given host is not correct or cannot be reached.but it seems this error is logging from websocket itself and is not relat