docs: public static synchronized void removeInstance() {
          if (instance != null) {
              instance.removeShutdownHook();
              instance.restoreOriginalSystemOutAndErr();
              if (instance.getReader() != null) {
                  instance.getReader().shutdown();
              }
              instance = null;
          }
      }