connection retry mechanism if redis server is down