Properly reset and close the certificate store
Merge pull request #2 from ICantThinkOfAGoodUserName/master

Properly reset and close the certificate store