use forked and hacked version of Celery Flower that allows fetching api/tasks json filtered by task state https://github.com/mher/flower/pull/58