Fixed cancellation exception in consumer threading shutdown