Small fix to redis task queue