Make test_nntplib more robust
diff --git a/Lib/test/test_nntplib.py b/Lib/test/test_nntplib.py
index 13bb505..a387f61 100644
--- a/Lib/test/test_nntplib.py
+++ b/Lib/test/test_nntplib.py
@@ -227,8 +227,10 @@
     def test_zzquit(self):
         # This test must be called last, hence the name
         cls = type(self)
-        self.server.quit()
-        cls.server = None
+        try:
+            self.server.quit()
+        finally:
+            cls.server = None
 
     @classmethod
     def wrap_methods(cls):