allow configuration of max attempts for an incr operation