fixed bug in job caching/publisher shutdown