Make bgp_xmpp_mcast_test more robust

Change-Id: I91071cc9f65951470078617227208e6b0deae814