Merge "[Thread] Add support for Thread persistent setting" into main