Is this thread necessary? The threaded TCP server will create a thread for each client (basically, "handle" in `TriggerHandler` is your worker. In `add_trigger`, you should be able to loop over the handlers and add the trigger to the `tx_queue` of each of them. Like that, the server would support multiple clients.