onStop method
Callback when this executor is stopped. Returns true if successfully stopped, false otherwise.
Implementation
@override
Future<bool> onStop() async {
for (var executor in executors) {
executor.stop();
}
group.close();
executors.clear();
return true;
}