fixed a connection error.

Signed-off-by: liuhuahang <huahang.liu@gmail.com>