docs: public static void close(Socket socket) {
          if (socket == null) {
              return;
          }
          try {
              socket.close();
          } catch (IOException e) {
              Logger.getLogger(IOUtil.class).finest("closeResource failed", e);
          }
      }