Fix reset method of Timer class