A map to keep track of ongoing tasks and their corresponding completers.
Map<String, Completer<void>> tasks = {};