codereview: fix hang on standard hg commands

R=gri
CC=golang-dev
https://golang.org/cl/1950045
diff --git a/lib/codereview/codereview.py b/lib/codereview/codereview.py
index 3d87f29..4b03b08 100644
--- a/lib/codereview/codereview.py
+++ b/lib/codereview/codereview.py
@@ -457,7 +457,9 @@
 			print >>sys.stderr, time.asctime(), s
 
 def start_status_thread():
-	StatusThread().start()
+	t = StatusThread()
+	t.setDaemon(True)  # allowed to exit if t is still running
+	t.start()
 
 class LoadCLThread(threading.Thread):
 	def __init__(self, ui, repo, dir, f, web):