Bug 1054825 - Return better error message for resources exhausted