Upgraded to 1.1.0 of the Netty pipelining library and now send a close event on the http pipeline when the channel is required to be closed. This prevents a race condition where the channel can be close before the pipeline events are flushed out to the socket.
Merge pull request #1353 from huntc/orderly-close

Investigate whether closing a channel should be sent as an ordered downstream event