add the connection check of cluster before add peer.