[tor-commits] [tor/maint-0.3.2] turn MAX_REND_FAILURES into a function