added try-catch to socket_utils (client version)