test if redis is connected before fetching form cache