[JBTM-1611] Make recovery passes configurable