TRQ-1999. There was an error in the backport to 4.1.6.h2 - unlock the job's mutex if it doesn't get aborted in stat_update()