diff --git a/exec/broker.js b/exec/broker.js
index 96059c0cc4bc50c25e760ff5799e9b1783cf418a..eae29308d7046329791ea9271155b97c1eaa5b63 100644
--- a/exec/broker.js
+++ b/exec/broker.js
@@ -927,7 +927,6 @@ MQTT.Connection.prototype.tearDown = function() {
 		this.sock.clearOnce('write', this.tx_once);
 		this.tx_once = null;
 	}
-	this.sock = null;
 	sock.close();
 	this.sock = null;
 	if (this.broker.connected[this.client_id] !== undefined)