aio-socket test cast