examples: use new API to create control threads