diff --git a/src/common/connection.py b/src/common/connection.py
index ed9b51b67d2a13d43e54b652c1c6d002f1ecb715..850317ce81a73767b0d93f62a5f544067f03a723 100644
--- a/src/common/connection.py
+++ b/src/common/connection.py
@@ -159,6 +159,8 @@ class Connection(ConnectionHandlers):
 	# END disconenctedReconnCB
 	
 	def _connection_lost(self):
+		self.disconnect(on_purpose = False)
+		self.dispatch('STATUS', 'offline')
 		self.dispatch('ERROR',
 		(_('Connection with account "%s" has been lost') % self.name,
 		_('To continue sending and receiving messages, you will need to reconnect.')))