Fixed failed connection and if group is already connected, do not re-connect.