Closes the provider and it's connections.
@override FutureOr<int> close() => connection.close().then((_) => 1);