Close stream when done reading
Documentation