Clean up the logs during wpilib_interface initialization

Change-Id: I9140698f23b9a9b5ca1efea0c6dbc0d65e996434
diff --git a/frc971/wpilib/loop_output_handler.cc b/frc971/wpilib/loop_output_handler.cc
index 658b064..310b3e3 100644
--- a/frc971/wpilib/loop_output_handler.cc
+++ b/frc971/wpilib/loop_output_handler.cc
@@ -15,8 +15,8 @@
     : watchdog_(this, timeout) {}
 
 void LoopOutputHandler::operator()() {
-  ::aos::SetCurrentThreadName("OutputHandler");
   ::std::thread watchdog_thread(::std::ref(watchdog_));
+  ::aos::SetCurrentThreadName("OutputHandler");
 
   ::aos::SetCurrentThreadRealtimePriority(30);
   while (run_) {
@@ -51,11 +51,11 @@
   if (timerfd_.get() == -1) {
     PLOG(FATAL, "timerfd_create(Time::kDefaultClock, 0)");
   }
-  ::aos::SetCurrentThreadRealtimePriority(35);
-  ::aos::SetCurrentThreadName("OutputWatchdog");
 }
 
 void LoopOutputHandler::Watchdog::operator()() {
+  ::aos::SetCurrentThreadRealtimePriority(35);
+  ::aos::SetCurrentThreadName("OutputWatchdog");
   uint8_t buf[8];
   while (run_) {
     PCHECK(read(timerfd_.get(), buf, sizeof(buf)));