What does yield() method of Thread class do?