finalize ldml reader