NXP-15345: check needed permissions before reading and writing lifecycle properties
NXP-15315 send threads enter/leave events