NXP-14367 fix test session leaks