EncoderException cleanup