LPS-33876 PACL - prevent stackoverflow