added Client.isConnected