attempt to solve energizer bug with clearTimeout - better, but still not perfect