enable shutdown for foo-app