Clear doctrine after each job