Make bgp_xmpp_mcast_test more robust

Change-Id: I06313099b18c6f45f3996ec925b96bdf6fccf07b