fix KeyStore caching
Merge pull request #3 from xlvii-sven/master

fix KeyStore caching (Thank you!)