socket.setSoTimeout(3000);