Node.js stream 'end' event not firing
<p>The following data stream does not trigger the 'end' event. The 'data' event is triggered and I can see every data row logged to the console.</p>

<pre><code>var AWS = require('aws-sdk');
var ogr2ogr = require('ogr2ogr');
var JSONStream = require('JSONStream');

var S3 = new AWS.S3();
var source = S3.getObject({bucket: ..., key: ...}).createReadStream();

var stream = ogr2ogr(source).format("GeoJSON").stream()
  .pipe(JSONStream.parse('features.*'));

stream.on('data', function(data){
  console.log(data);                // Correctly outputs 70 rows of data.
})

stream.on('end', function(){
     console.log('end');            // This code is never executed.
})    

stream.on('error', function(err){
     console.log(err);              // No errors...
})
</code></pre>

<p>The process works if I create a write -> read stream after the ogr2ogr transform.</p>