removed `connect` method from Client constructor. use `connect` explicitly.