Fixing flaky test InboundMessageLossTestCase

Fixing flaky test InboundMessageLossTestCase