Make sure the ZMQ input thread dies on Stop()