wrong logger in TaskModuleShutdown fixed
added the EndSession icps call and corresponding task
fix: using right logger in TaskSwitchTo