Fix connect() resolving early with Rust client
#643
Merged
connect() resolving early with Rust client
#643