831f23ee86
This fix addresses an issue where an AsynchronousCloseException was being thrown instead of a ChannelClosedException when SocketChannel.write() is called on a closed SocketChannel. Reviewed-by: alanb, chegar, dfuchs