 
     (log/debug ::cli-checker-start {:cli-port cli-port})
 
-    (doto (Thread. thread-fn)
+    (doto (Thread. thread-fn "shadow-cljs-npm-process-checker")
+      (.setDaemon true)
       (.start))
 
     (fn []

  (when nrepl
    (let [stop (::stop nrepl)]
      (do-shutdown (stop))))

  (do-shutdown (undertow/stop (:server http)))


       (log/warn-ex t# ::shutdown-ex {:form ~(pr-str body)})
       (discard-println ~(str "shutdown failed: " (pr-str body))))))

(defn shutdown-system [{:keys [shutdown-hook http port-files-ref socket-repl cli-repl cli-checker nrepl] :as app}]
  (discard-println "shutting down ...")
  (try
    (. (Runtime/getRuntime) (removeShutdownHook shutdown-hook))
