Avoid a deadlock when a decoder is in error.