This is because NVM manager is not closed so cannot create another SHE keystore again and looks that it causes NVM manager status incorrect later.
You can refer to the example script in attachment, which will start and close NVM session each time. Then it can run ./she_test_get_info repeatedly.
root@imx8qxpc0mek:~# ./she_test_get_info
she_storage_create ret:0x1
she_open_session handle:0xe8c063c0
she_get_info ret:0x0
she_get_info: user_sab_id 0x1,chip_unique_id 0xb 0x6 0xa0 0xe 0x82 0x8e 0x41 0xdb,chip_monotonic_counter 0x0,chip_life_cycle 0x20,version 0x30085, version_ext 0x0, fips_mode 0xf9650fa0
she_close_session
Closed nvm session
root@imx8qxpc0mek:~# [ 33.870490] usb_otg1_vbus: disabling
root@imx8qxpc0mek:~# ./she_test_get_info
she_storage_create ret:0x1
she_open_session handle:0xde8e23c0
she_get_info ret:0x0
she_get_info: user_sab_id 0x1,chip_unique_id 0xb 0x6 0xa0 0xe 0x82 0x8e 0x41 0xdb,chip_monotonic_counter 0x0,chip_life_cycle 0x20,version 0x30085, version_ext 0x0, fips_mode 0xc662de70
she_close_session
Closed nvm session
Regards
Harvey