Removed a double close problem which originates from term_job.
term_job runs in a loop on the same job and calls node_bailout
which eventually calls exec_bail. exec_bail does a close
on ji_stdout and ji_std_err. exec_bail was already checking
to see if these values were > 0 but they were never changed.
After closing the files the file descriptors or set to -1 so
they cannot be closed again. Coverity issue 1187622