Working on exit code support. Works except for race condition between
qstat removal and qacct addition