Controlling clinet connection state from QML gui