Especially when using `array_shift()`, `array_pop()` etc. in a thread for an array of anonymous functions.