Split off candidate-5.2.0 branch

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-12128 - MP connections take too long

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

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