Install toplevel handler inside fork.