do not embed netty, let th e container resolve dependencies
Close on exception, After an exception the protocol is not recoverable anyway and closing will clear the write buffer, preventing WRITE_OP interest for NIO selector.