Add connection checking for redis
Typo
Add changes