Make bgp_xmpp_mcast_test more robust

Change-Id: Id79a46b5dbce946f9edd0c1c37590262454eb82b