I saw it mentioned here that Wald's Equation can still be used when the number of random variables being summed is not independent of the random variables themselves.
Consider finding the expected value of the stopping time $N$ defined below, where $U_i$ are iid and uniform in (0, 1).
$$N = \min \Big\{ n: \sum_{i = 1}^{n} U_i > 1 \Big\}$$
As mentioned here the expected value is $e$. Let $S_n = \sum_{i = 1}^{n} U_i$. Since, $S_n \geq 1$ due to the stopping rule, would it be valid to use Wald's equation for a crude lower bound as follows
$$ \mathbb{E}S_n = \mathbb{E}U_i \mathbb{E}N \geq 1\\ \mathbb{E}N \geq \frac{1}{\mathbb{E}U_i} = 2$$