if( ack_count < 1 ) { // 1st ack, so we need to connect, and we'll wait for that
sleep( 1 );
}
+ if( rt_count > 5 ) { // but only pause for max 5sec not 1000s!
+ rt_count = 5;
+ }
rt_count--;
msg = rmr_rts_msg( mrc, msg ); // we don't try to resend if this returns retry
}