fixed redis connection to deal with large data

fixes #6547
close #6482