@@ -148,7 +148,8 @@ impl Client {
148148 })
149149 .map_err(|e| Error::Other(e.into()))?;
150150
151− timeout(Duration::from_secs(2), rx.recv())
151+ // TODO: specifiable timeout, delay other calls until initialize success
152+ timeout(Duration::from_secs(20), rx.recv())
152153 .await
153154 .map_err(|_| Error::Timeout)? // return Timeout
154155 .ok_or(Error::StreamClosed)?