attemptreopenmethod and maxattempts