issue #235 - improved flows.queue API