Make bgp_xmpp_mcast_test more robust

Change-Id: If7e9668315d3bf290d05c1f02f123a9377819798