HPCC-12128 - MP connections take too long

When A-> B and B->A within a very short time frame a 3 minute delay would often occur after which a failed connection might still occur.  This was noticed very often when using the mptests, which are used for new mp lib development.

Signed-off-by: Mark Kelly <mark.kelly@lexisnexis.com>
I can add a comment.  The point is that both processes are stuck in this loop and we want only one of them to end.  So we use the random number to decide who wins, but in the rare case when they numbers are equal then we change the timeouts and hope they are different or we are back at the original problem.  I could send and recv more data (using a larger rand number to reduce the chance of the two rands being equal) or just have one process tell the other to stop, but I wanted to preserve the small amount of info sent during the connect/accept handshake.