fix warning for async.c