Backport Bug Fix 1240353

Commit: 9808cac073777ae375074121f9eab15403f1a856

Fix IP recycling on exhausted pool