Added reset attempt when Formula fails.