inline new-connection-factory