Added spring context shutdown hook