NXP-12633: use new type and wait functions from user-extension for select2