Fix execution failed networktest.sh script
#### Description
Corrects failures when invoking a collector configured with a load balancer.
tools/src/main/java/com/navercorp/pinpoint/tools/network/UDPChecker.java
tools/src/main/java/com/navercorp/pinpoint/tools/network/UDPChecker.java
diff --git a/tools/src/main/java/com/navercorp/pinpoint/tools/network/UDPChecker.java b/tools/src/main/java/com/navercorp/pinpoint/tools/network/UDPChecker.java
index 0e8886af9c54..068a2d828850 100644
--- a/tools/src/main/java/com/navercorp/pinpoint/tools/network/UDPChecker.java
+++ b/tools/src/main/java/com/navercorp/pinpoint/tools/network/UDPChecker.java
@@ -41,9 +41,9 @@ protected boolean check(InetSocketAddress address) throws IOException {
     protected boolean check(InetSocketAddress address, byte[] requestData, byte[] expectedResponseData) {
         DatagramSocket socket = null;
         try {
-            socket = createSocket(address);
+            socket = createSocket();
 
-            write(socket, requestData);
+            write(socket, requestData, address);
             byte[] responseData = read(socket, expectedResponseData.length);
 
             return Arrays.equals(expectedResponseData, responseData);
@@ -57,6 +57,13 @@ protected boolean check(InetSocketAddress address, byte[] requestData, byte[] ex
         return false;
     }
 
+    private DatagramSocket createSocket() throws IOException {
+        DatagramSocket socket = new DatagramSocket();
+
+        socket.setSoTimeout(3000);
+        return socket;
+    }
+
     private DatagramSocket createSocket(InetSocketAddress socketAddress) throws IOException {
         DatagramSocket socket = new DatagramSocket();
         socket.connect(socketAddress);
@@ -65,8 +72,8 @@ private DatagramSocket createSocket(InetSocketAddress socketAddress) throws IOEx
         return socket;
     }
 
-    private void write(DatagramSocket socket, byte[] requestData) throws IOException {
-        DatagramPacket datagramPacket = new DatagramPacket(requestData, requestData.length);
+    private void write(DatagramSocket socket, byte[] requestData, InetSocketAddress address) throws IOException {
+        DatagramPacket datagramPacket = new DatagramPacket(requestData, requestData.length, address);
         socket.send(datagramPacket);
     }
 
