Merge in RR/pyinfra from RED-4564 to master
Squashed commit of the following:
commit bf4c85a0ab9fed19a44508f2cbef6858cbb32259
Author: Viktor Seifert <viktor.seifert@iqser.com>
Date: Fri Jul 8 15:46:11 2022 +0200
RED-4564: POC-test to see if cancelling the consumer prevents messages from being stuck
commit 12ebd186b220f263ac2275463b0c124e8f4210fc
Author: Viktor Seifert <viktor.seifert@iqser.com>
Date: Fri Jul 8 14:32:05 2022 +0200
RED-4564: Print full exception with traceback when processing from the queue