if (job->goal != JOB_STOP) {
size_t len = 0;
if (job->stop_env)
if (job->stop_env) {
nih_unref (job->stop_env, job);
}
job->stop_env = NULL;
/* Collect environment that stopped