Allow JobStorage to reset the EntityManager
Allow JobStorage to reset the EntityManager

After a Job triggers a Doctrine exception, and handles it, the EntityManager still remains closed and JobStorage can't persist changes. This fix resets the Manager after such an occurrence.
php-enqueue/enqueue-dev,php-enqueue/enqueue-dev