Merge "Fix overflow of rand in ARTPConnection"