stop timer when cancelled