fix timer being released. invalidate and setting to nil should be ok.