eng_devcrypto: close session on cleanup, not final