change execution order of event handler and event finish functions

use sigterm to kill cgi scripts

test cgi kill

(0) -300 -100 -30 -10 -3 +3 +10 +30 tip

mercurial