Exception listener added, shutdown hook created, jms connection refresh logic added