the_socket.accept()
except KeyboardInterrupt:
# this is what we waited for!
- logger.info("Got SIGINT, terminating...")
pass
+logger.info("Terminating...")
+
# bring 'em all down
the_waker.stop() # this one first, it "randomly" calls other threads
the_pins.stop() # as does this