convert handle_sigreturn to use this_child