Optimize cancellation in nioBuffers()