client2.on("error", function (err) {
    console.error("client2: " + err.stack);
    process.exit();
});