client connect and reconnect