Fix exception when accessing AsyncResult