It would be nice to be able to use a Symfony pool directly as in https://github.com/doctrine/DoctrineBundle/pull/948