I found that celery supports task chains: http://celery.readthedocs.org/en/latest/userguide/canvas.html#chains.
Question is: how can I stop chain's execution in a task?
For example, we got a chain of N items (N > 2). And in the second task we realize that we do not need all the rest tasks to be executed. What to do?