增加redis重试,修复read_p超过write_p bug