ti: don't open thread when no threads