Implement auto-reconnecting redis connection