disable auto flush in managers and add new one in kernel terminate events