moved clearTimeout from / to