adding in a cleanup task to remove stale tasks from the database if celery is being used
actually including the task in the commit this time