Fix the case where we add a new item to the queue in a callback on ._pending_put.