Fix to aio.c queue counter