added timer cancel in destructor.