Import threading library in tail manager since we want to use it

This import got lost in my rebasing. Reported over in (#186)