Closes #13140: Fix the daemon_threads attribute of ThreadingMixIn.
diff --git a/Lib/socketserver.py b/Lib/socketserver.py
index 0e2ba83..cd367f1 100644
--- a/Lib/socketserver.py
+++ b/Lib/socketserver.py
@@ -588,8 +588,7 @@
         """Start a new thread to process the request."""
         t = threading.Thread(target = self.process_request_thread,
                              args = (request, client_address))
-        if self.daemon_threads:
-            t.daemon = True
+        t.daemon = self.daemon_threads
         t.start()