Connect / disconnect on client UI.