Yahoo's counter offer of $40 is a smart move. Microsoft needs Yahoo. From Yahoo's perspective, this is the best of the strategic options available to them. They are simply trying to find an acceptable price.
It will be interesting to watch how high will Ballmer go to get Yahoo?