call Thread.yield() to release CPU