Closes the provider and it's connections.
@override FutureOr<int> close() async { var total = _pool.length; for (var c in _pool) { await c.close(); } _pool.clear(); return total; }