Small Thread.yield fix