Sociality expects a connection when it sends the refresh signal (configurable in settings), this means if there isn't a connection the dialog will pop up, this is Qt behaviour, not something I'm explicitly setting. Either close sociality when you're offline, or disable refresh, or keep an open connection.