Add "is_interrupted" flag to avoid deadlock after camera pipeline is stopped.