Make bgp_xmpp_mcast_test more robust

Change-Id: I8ced31f78367c45c99131166fe4458402deca8c3