delete job when finished