invoker.stopRunning();
if (pollingManager!=null)
pollingManager.stopRunning();
//shutting down the storage manager.
storageManager.shutdown();
//ensure the storage managers are nullified
AxisConfiguration config = configurationContext.getAxisConfiguration();
Parameter param = config.getParameter(Sandesha2Constants.INMEMORY_STORAGE_MANAGER);
if(param!=null){