gracefully stop casting on device change #2