Add reader.close() at GLMSplitter