fix for cache showing server working iven when its shutdown