set routing threads pid