place together more #ifdef CONFIG_IOTHREAD blocks