Set workerExitCode only when using initialized pipes, return  if it exists
Merge pull request #9 from jsantell/master

Set workerExitCode only when using initialized pipes, return if it exists r=@ochameau