It's more robust to do this just before we need the space, rather than assume when the queue will be read and adjust things right after.
It's more robust to do this just before we need the space, rather than assume when the queue will be read and adjust things right after.