NXP-13216: Fix bad call to session.delete()