Fix leak of active handlers in continuation.

If a continuation is never resumed but it saved handlers, they would
never become active again and would thus be leaked.
Clear up gen2 memory at exit.