MFC r290504: Make ISP_SLEEP() really sleep instead of spinning.
While there, simplify the wait logic.