Add SIGCHLD handler

  When process from run_entry() dies with an error it leaves process
  in ^Z state.
Merge pull request #1 from mwolny/master

Add SIGCHLD handler