Fix parallel_exec() hanging if an error is encountered in the command being executed.

This fix is similar to the one used in nohang()
Remove unused netargs

Reported by:	John R. Marino