Doctrine connection is done properly