Add variadic wait_for_all() function