Fix a NRE, we should wait on the task before taking the out parameter