WIP
Adding in fix for closing queues that was similarly affecting queue-flow. This should address issue #1 dfellis/queue-flow#7.