close method
Close closes the resource manager
Implementation
@override
Future<void> close() async {
_logger.fine('Closing ResourceManager...');
_gcTimer?.cancel();
// TODO: Clean up all scopes properly.
// For now, just mark system and transient as done.
// This doesn't release resources from children correctly, needs full teardown.
_transientScope.done();
_systemScope.done();
_logger.fine('ResourceManager closed.');
}