perhaps can you add an option with to define the maximal tries with  default value  150 ? (perhaps not often used).