prevent dupicated shutdown of application scoped beans