Asynchronous Execution of Heterogeneous Tasks in ML-driven HPC Workflows