Make bgp_xmpp_mcast_test more robust

Change-Id: Iacc6a21554d1f9b1e9dae37315caef83809f8201