Stop viewfinder if there is an error