Add controlling output thread