TIMEOUT_MSEC
count = TIMEOUT_MSEC / POLL_MSEC;
for (tries = 0; tries < TIMEOUT_MSEC / POLL_MSEC; ++tries) {