Fixes #253 When run under supervisor, the celery tasks are not properly stopped