Don't fetch manager while in loop at Doctrine Providers