Free memory when timer destroy