poll/select: prevent busy-waiting