Fix Redis availability check