Fix GDA-5991 Only shutdown scan pipeline on receipt of DeviceException