[FEATURE] Added support for overriding #max_attempts

This allows subclasses to override `#max_attempts` in a similar fashion to overriding the prompts.