Remove import of _thread