allow turning off panicRecovery in fsm, to make testing error handling easier