sahpes: stop image processing after timeout