add prepare_task method for celery canvas workflow