To deactivate hanging termination detection, set the timerx statement to 0:
[edit services pgcp gateway vpg-1 h248-properties hanging-termination-detection] user@host#set timerx 0