close encryption session after decryption was finished