use celery and redis

fix some redis and celery task problems