Wait for the task to finish
ResultT if succeeded , or crash if job failed ,if you don't care about resultT check awaitOrNull