track when daemon is quiescing in select loop

otherwise if we wake up out of the poll loop after quiescing, we'll spin
forever trying to poll 0 sockets