boolean stopPc() {
LOG.debug("Stopping PluginContainer on demand...");
PluginContainer pc = PluginContainer.getInstance();
boolean wasStarted = pc.isStarted();
if (wasStarted) {
boolean shutdownGracefully = pc.shutdown();
if (shutdownGracefully) {
LOG.debug("Stopped PluginContainer gracefully.");
} else {
LOG.debug("Stopped PluginContainer.");
}