kate-at-end-of-session