Fixed codecs not disposing their readers/writers