Backing out closing channel in NioEndpoint