Start the sinatra app
bundle exec ruby app.rb
Use em-http-request to fetch the streaming URL exposed by sinatra - you should see that the request continues to stream to completion
bundle exec ruby requester.rb
Now uncomment conn.conn.close_connection
and run again.