Issue #22435: Fix a file descriptor leak when SocketServer bind fails.
Merge.