refactor: more obvious correctness
don't modify the State in the fun passed to queue_consumers:deliver.
At least in one of the call sites.