delete the job when its done