Fixed AIO handling in the output chain. The ctx->aio flag must be taken into account in the short path too.