make handle_sigreturn use a bool.