Removed _thread from imports, making it compatible with ST2 and ST3