Ensure reader + stream are closed