Added isConnected state to distributed system