Async generator does not return an image