resetting execution contexts at exit node