fix for cache showing server working iven when its shutdown
Merge pull request #5 from jonaz/master

fix for cache showing server working even when its shutdown