close method
Disposes of any outstanding resources.
Implementation
@override
Future<void> close() async {
client.close();
await _onAuthenticated.close();
await Future.wait(_services.map((s) => s.close())).then((_) {
_services.clear();
});
}