Explicitly close the server socket.
diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py
index 5f01247..54d17a3 100644
--- a/Lib/test/test_logging.py
+++ b/Lib/test/test_logging.py
@@ -109,6 +109,8 @@
             abort = self.abort
         #notify the main thread that we're about to exit
         socketDataProcessed.set()
+        # close the listen socket
+        self.server_close()
 
     def process_request(self, request, client_address):
         #import threading