Add a shutdown() call in the server example.
diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst
index a9daf16..aaa3871 100644
--- a/Doc/library/ssl.rst
+++ b/Doc/library/ssl.rst
@@ -888,6 +888,7 @@
        try:
            deal_with_client(connstream)
        finally:
+           connstream.shutdown(socket.SHUT_RDWR)
            connstream.close()
 
 Then you'll read data from the ``connstream`` and do something with it till you