handle celery different and according to the new docs (3.1.4)