You're right, so I should check against the driver if the current exception is a kind of those that can be safely restarted? You think is ok to put this into each \Doctrine\DBAL\Driver\*?