Disconnect from socket listener signals when leaving main window
def _load_content(self):
self._contacts = Contacts(APP().api)
self._load_contacts()
# TODO: Disconnect if no more needed
APP().api.socket_listener.connect("ContactAddedEvent",
self._refresh_contacts_async)
APP().api.socket_listener.connect("ConversationMessageReceivedEvent",
self._refresh_contacts_async)