make sure we close the active channels when eof is received on them
diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py
index d786154..b05b17e 100644
--- a/Lib/test/test_ssl.py
+++ b/Lib/test/test_ssl.py
@@ -386,6 +386,7 @@
                     self.send(data.lower())
 
                 def handle_close(self):
+                    self.close()
                     if test_support.verbose:
                         sys.stdout.write(" server:  closed connection %s\n" % self.socket)