Rebuilt grid sample for RabbitMQ, and it works
Added additional check to ensure that pending tasks get cancelled properly.