NXBT-628: introduce select2 type and wait function