Fixed memory leak

Added hooks to reset all timers