triggerbox_device: fix race at startup