release the cryptoContext before we release the struct