Handle exceptions in RecordReader.close() better (suggested by Jim
Donahue)