add back SetMaxConns for compitable and set @deprecated