There's an unconditional wait that was added for some corner
cases. The reapchild routine is being called without a thread
to wait for. This is causing it to hang after printing.

Removed the wait.

Thanks to Mr Igli (igli in ##posix on freenode)