fix: reset() now returns an error code of 1 when the reset could not be done because the time span is not yet met + changed restore() return code: 0 if OK, 1 if KO

Signed-off-by: Stephen L. <lrq3000@gmail.com>