https://bugzilla.redhat.com/show_bug.cgi?id=960598 -- Fix BridgeReconnectTest failures on Windows



The reason it only happens on Windows (not mine, which is win 7, on Windows 2008 server only so far) is this:

The bridge uses a thread pool to do the connection task, so it runs independently of the future. It is possible that when a connection retry is finished but the future is not done yet. In that case the next scheduled retry is abandoned while the last retry failed. For example in the test we set up the scenario for the bridge to succeed on the 3rd retry. Due to this issue, the bridge may stopped at 2nd retry. So the bridge will never be re-connected and the test fails.