pub async fn shutdown_plugin_pool() -> Result<()>
Shutdown the plugin pool gracefully.
This should be called during application shutdown to properly terminate the worker pool and clean up resources.