fix a weird check of the return value of aio_cancel.