Changed it to only reset the current job when everything is finished