Add thread-settings for control the thread