keep track of TCP client connection status my current implementation contains a public propriety that is binded to a toggle button