Writer must be closed to correctly flush asynchronous data to response. Closing underlying stream is not enough.
Servlet and Guice examples with grizzly.