NXP-13342 fix reentrency in Listener