diff --git a/src/common/zeroconf/client_zeroconf.py b/src/common/zeroconf/client_zeroconf.py
index 6f53b707185d568b92b6ec7c5b7f8eed38b9a94a..30d5c145a9bd0dc90f5e9894c123a00b8151632e 100644
--- a/src/common/zeroconf/client_zeroconf.py
+++ b/src/common/zeroconf/client_zeroconf.py
@@ -468,6 +468,7 @@ class ClientZeroconf:
 		self.connections = {}
 		self.recipient_to_hash = {}
 		self.ip_to_hash = {}
+		self.listener = None
 
 	def test_avahi(self):
 		try: