wait for redis alive