fix thinko in poll_until()