(cherry picked from commit 53b6bbf0b14ab632dc89416d7fffa9b1d0887c0a)
* add close proxy op * Move to actual closing routine * Fix e2e tests for CloseProxy * Add warning on resource exhaustion * Add CloseProxy to manual close * retuen errors to `CloseProxy` callers