reversed the order of shutting down flower and celery