Fix aio_flush_async callback not being called