Add SIGCHLD handler

  When process from run_entry() dies with an error it leaves process
  in ^Z state.