I have a django application that has a rest endpoint which puts tasks in a queue and waits for the result through a callback. Unfortunately this leads to the callback functi