Rule 7 Section 6 Art 4 (b) legally holds the heel to the buttocks while the defensive wrestler is broken down to the mat for more than five seconds; (c) holding an opponent's leg with the use of two hands on two legs or two hands on one leg in action not designed to break his opponent down, or is for the purpose of securing a fall, or is to prevent an escape or reversal, is stalling. Repeated regrasping and holding the leg or legs with both hands or arms, merely to break the defensive man down in order to keep him under control, is a violation under this rule. Art 5 ... It is stalling when the wrestler in the defensive position refuses to wrestle aggressively by attempting to escape or reverse his opponent
There is obviously more, you can find stalling covered in Rule 7 Section 6 or on pages 29 and 30 of your federation rules book.
Refs have many different opinions, They are only human.