add timeout around redis state cache