CascadingAllocator: fixed a few resource exhaustion cases