Reap the child process if there's an error during setup

Previously, if the child process failed to, say, exec (e.g. because of
a non-existent executable), nothing would ever reap the child process.
Merge pull request #6 from ebroder/reap-on-error

Reap the child process if there's an error during setup