Stop tactmchine when image changes