add control thread