unsubscribe from queues on shutdown