should return null after reading all records