Close the source after reading regardless of result.
Merge pull request #758 from square/jw/close-on-exhaust

Close the source after reading regardless of result.