Bug with timer not invalidating