Controlling MAXDOP of executing queries