work_queue_worker was not returning the correct exit code.
It now correctly parses the status returned by wait4() to extract
the exit code or terminiation signal.