fix shutdown race in queue managers