title: Stopping celery task gracefully
body: <p>I'd like to quit a celery task gracefully (i.e. not by calling <code>revoke(celery_task_id, terminate=True)</code>). I thought I'd send a message to the task that sets a flag, so that the task function can return. What's the best way to communicate with a task?</p>