Issue #26685: Raise OSError if closing a socket fails
6 files changed