session on_reset event

cherry-picked from feature-compute-separation to avoid possible
future merge hell