protected boolean shutdown(int mode, long timeoutMSecs) { try { if (persistenceStrategy != null) { persistenceStrategy.close(); } } catch (IOException e) { logger.error("Error closing persistent store", e); } return super.shutdown(mode, timeoutMSecs); }