apply fix in ebe0de6 to Thread::multi() case