+1

Put it in Unsafe.write() in the "else" block immediately after outboundBuffer.addMessage(msg, promise) call.