Mind if we get rid of this superfluous line? Since raising MaxRetryError is the default expected behaviour for the parent if block.