Rename getAllowPoolingConnection  into isAllowPoolingConnection, close #605