code: public static void uninstall() throws IOException {
          try {
              Field factoryField = Socket.class.getDeclaredField("factory");
              factoryField.setAccessible(true);
              factoryField.set(null, previousSocketImplFactory);
          } catch (IllegalAccessException e) {
              throw new IOException("Failed to initialize SnifferSocketImplFactory", e);
          } catch (NoSuchFieldException e) {
              throw new IOException("Failed to initialize SnifferSocketImplFactory", e);
          }
      }
docs: Restores previously saved {@link SocketImplFactory} and sets it as a default
  @see #install()
  @throws IOException if failed to install {@link SnifferSocketImplFactory}
  @since 3.1