Added max retransmit parameter.