diff --git a/mwclient/http.py b/mwclient/http.py
index 96198f0732ec0c2822e7e3a1638364d44418e895..d9ca695b5c8e201ded4ec9e3707cddf759f5d378 100644
--- a/mwclient/http.py
+++ b/mwclient/http.py
@@ -188,4 +188,7 @@ class HTTPPool(list):
 	def request(self, method, host, path, headers, data, stream_iter,
 			raise_on_not_ok, auto_redirect):
 		return self.find_connection(host).request(method, host, path,
-			headers, data, stream_iter, raise_on_not_ok, auto_redirect)
\ No newline at end of file
+			headers, data, stream_iter, raise_on_not_ok, auto_redirect)
+	def close(self):
+		for hosts, conn in self:
+			conn.close()
\ No newline at end of file