HPCC-12128 - MP connections take too long

Resolve deadlock when A->B and B->A with lower random number

Updated from review and comments

Signed-off-by: Mark Kelly <mark.kelly@lexisnexis.com>